FileGetProperty
From kwiki
| | This article is written by Konrad, thus using rather nonstandard English:) |
FileGetProperty (DNM Script function)
Contents |
[edit]
full declaration
some_var FileGetProperty (string sSrcPath,string sProperty)
[edit]
return value
[edit]
description
sProperty may be one of the following:
- "mtime" : will return file/folder modification time.
- "ctime" : will return file/folder creation time.
- "atime" : will return file/folder last access time.
- "size" : will return file size.
If function returns file size, the type will be int. In case of modification/creation/last access time it will be int too, and can be used with Date and time functions.
[edit]
Examples
var $tm=FileGetProperty ("C:\\Windows","ctime");
MessageBox("Your 'windows' folder was created: "+TimeFormat($tm));
keywords: file get property folder size modification creation last access date time
