$lof » History » Revision 1
Revision 1/4
| Next »
Per Amundsen, 08/11/2015 01:16 PM
Added in 1.9.3
$lof(filename|foldername)
Returns information about the specified file or folder.
Default returns file size.
Same as $file.
Parameters
filename|foldername - Filename or folder to retrieve information from.
Properties
.size - File size in bytes. (returns 0 for folders)
.ctime - Creation time. (unix timestamp)
.mtime - Last modification time. (unix timestamp)
.atime - Last access time. (unix timestamp)
.shortfn - Short file name.
.longfn - Full file name.
.attr - File attributes.
.sig - returns "ok" if digital signed, else "none".
Example
; Show AdiIRC.exe filesize //echo -ag $lof($adiircexe).size ; Show explorer.exe digital signature //echo -ag $lof(c:\windows\explorer.exe).sig
Updated by Per Amundsen over 9 years ago · 1 revisions