Stat

File info = Stat ( Path )

Returns information about a file or a directory as a File object: type, size, last modification time, permissions...


Example

WITH Stat("/home")
  PRINT .Type = gb.Directory
  PRINT Round(.Size / 1024); "K"
END WITH

True
4K