Stat (gb)

This class represents all the information returned by the system about a specific file when you use the Stat function.

Tato třída je nevyvořitelná.

Vlastnosti
Auth   Return the file authorizations as a string, using the same syntax as CHMOD.
Device   Return the path of the device where the file is located.
Group   Returns the group that a file belongs to.
Hidden   Returns TRUE if a file is hidden.
LastAccess   Returns the last access time of a file.
LastChange   Returns the last time the attributes of a file were modified.
LastModified   Returns the last time the contents of a file are modified.
Link   If the file is a symbolic link, then this property returns the path of the file referenced by the link.
Mode   Returns the mode of a file.
Path   Returns the path of the file referenced by the Stat object.
Perm   Returns a virtual class that describes the file permissions.
SetGID   Returns TRUE if the SetGID bit of the file permission flags is set.
SetUID   Returns TRUE if the SetUID bit of the file permission flags is set.
Size   Returns the size of the file.
Sticky   Returns TRUE if the sticky bit of the file permission flags is set.
Time   A synonymous for the LastModified property.
Type   Returns the type of the file.
User   Returns the name of the user that the file belongs to.

Print Stat("/home").LastModified
04/24/2018 08:34:22

With Stat("/home")
  Print .LastModified
  Print .Path
  Print .Size
End With
04/24/2018 08:34:22
/home
4096

See also