$file

From Scriptwiki
Revision as of 09:59, 11 October 2006 by Cail (talk | contribs) (added page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$file(filename)
Properties: size, ctime, mtime, atime, shortfn, longfn, attr

Returns information about the specified file.

$file(mirc.exe).size	  returns the file size (default if no property is specified)
$file(mirc.exe).ctime	  returns creation time
$file(mirc.exe).mtime	  returns last modification time
$file(mirc.exe).atime	  returns last access time
$file(mirc.exe).shortfn	  returns short version of long filename
$file(mirc.exe).longfn	  returns long version of short filename
$file(mirc.exe).attr	  returns file's attributes