<fileinfo> Provides information (size, creation time, last access time, last modification time) about specified file.

Command Tree: | File \ File Info
. |
Syntax: | <fileinfo>("File", "Info", "ResultVar")
File | Full path to the file (e.g., "c:\mydocuments\file.doc").
Info | Specifies the type of information to be retrieved. Can be one of the following values: "SIZE" - retrives file size "TIME_WRITE" - retrieves the last modification time "TIME_ACCESS" - retrieves the last access time "TIME_CREATE" - retrieves the creation time
ResultVar | Variable that receives the result.
. |
. |
Example: | <#> This macro retrieves information about the file you select <#> <commands_only_on> <varset>("vFile=_vStrEmpty","") <varset>("vFileInfo=The selected file information:","") <varchng>("vFile","SF","") <fileinfo>("vFile","SIZE","vFileSize") <fileinfo>("vFile","TIME_WRITE","vFileTime") <varchng>("vFileInfo","A","_vKeyReturn") <varchng>("vFileInfo","A","File name: ") <varchng>("vFileInfo","A","vFile") <varchng>("vFileInfo","A","_vKeyReturn") <varchng>("vFileInfo","A","File size: ") <varchng>("vFileInfo","A","vFileSize") <varchng>("vFileInfo","A"," Bytes") <varchng>("vFileInfo","A","_vKeyReturn") <varchng>("vFileInfo","A","Last modified: ") <varchng>("vFileInfo","A","vFileTime") <msg>(100,100,"vFileInfo","File Info",1)