Gets status information on a file.
filestat <filename> <size> [<mtime>] [<drive>]
Obtains information about the file or directory specified by <filename>.
<size> is set to the size of the file in bytes.
<mtime> is set to the time of last modification of file.
<drive> is set to the drive number of the disk containing the file.
The system variable "result" value of -1 indicates an error.
filestat 'test.exe' size time drive if result = -1 then messagebox 'file open error' 'filestat' else sprintf2 str 'File size=%d Time modified=%s Drive=%s' size time drive messagebox str 'filestat' endif