The stat utility displays file information similar
See the stat miscellaneous information reference page for more detail on the availability and description of the option data.
Normally, the stat displays the name of the file, a string describing the option and the option's values, in a tab-separated list, with one option per line.
On a FAT file system, modification time has a resolution of two seconds and access time has a resolution of one day.
sets all of the options below (expect
-q). That is, it is equivalent to -acLlMmSs. -a
displays the time (in seconds since midnight on January 1, 1970) the file was last accessed.
displays the time (in seconds since midnight on January 1, 1970) the file was created.
follows symbolic links.
Symbolic links are only available on 2012/8.1/2012R2/2016/2019 systems with the NTFS file system.
displays the number of hard links for the specified file.
displays the encoded description of file type and file access permissions for the specified file. This is the file access mode and the last four bytes are as described in the chmod reference page.
displays the time (in seconds since midnight on January 1, 1970) the file was last modified.
enables quiet mode. Only option data is displayed.
displays the string representation of the file access mode.
displays the file size in bytes.
Possible exit status values are:
Windows Server 2012. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019.
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.