Take Command / TCC Help v. 13.03

@FILETIME

Hide Navigation Pane

@FILETIME

Previous topic Next topic No directory for this topic No expanding text in this topic  

@FILETIME

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@FILETIME[filename[,[a|c|w[u]][,s]]] : Returns the time of day a file was last modified, in hh:mm format. Filename must be in quotes if it contains white space or special characters. The optional second parameter selects which time field is returned for files on an LFN drive: a means the last access time, c means the creation time, and w means the last modification (write) time, which is the default. Times are normally returned with hours and minutes only. To retrieve seconds as well, add s as the optional third parameter. On non-NTFS drives, the last access time is always returned as 00:00, and without a seconds field (see Time  Stamp for additional details).

 

If you append a u to the second argument, @FILETIME will display the time in UTC.

 

Examples:

 

echo %@filetime["D:\my path\myfile.exe"]

echo %@filetime["comspec",c,s]

 

See also: @FILEDATE, @FILEAGE.

 

Comments (...)