Home > lang > stat 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Stat
FileInfo = Stat ( Path [ , FollowLink ] )

Returns information about a file or a directory as a Stat object:

If FollowLink is TRUE, then symbolic links are followed, i.e. the information about the target file is returned, not the information about the link itself.

Example

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

True
4K

See also

File & Directory Functions, Stat