Get File Information
Gets information (size, time, attributes, version etc.) about the specified file.
Optionally, you may add comments here describing the purpose of this element.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.
Specify the filename about which you want to get information.
The name of the variable into which the information will be written. This command specifies some variables with different postfixes and assigns them the according information.
There are the following resulting variables:
|[var]||The full name of the file.|
|[var]ver||The version of the file.|
|[var]size||The size of the file.|
|[var]exist||Equals 1 if the file exists.|
|[var]used||Equals 1 if the file is used by another process.|
|[var]write||Equals 1 if the file can be opened and written.|
|[var]dir||Equals 1 if it is a folder.|
|[var]readonly||Equals 1 if the file has the attribute Read only.|
|[var]hidden||Equals 1 if the file has the attribute Hidden.|
|[var]system||Equals 1 if the file has the attribute System.|
|[var]archive||Equals 1 if the file has the attribute Archive.|
|[var]ctime||The creation date and time as a line.|
|[var]atime||The last access date and time, as a line.|
|[var]wtime||The last write date and time, as a line.|
|[var]swtime||The last write date and time, as SSMMHHDDMMYYYY.|
|[var]year||Year of the last modification.|
|[var]month||Month of the last modification.|
|[var]day||Day of the last modification.|
|[var]hour||Hour of the last modification.|
|[var]minute||Minute of the last modification.|
|[var]second||Second of the last modification.|
For example, if you specified variable name as fi then
#fisize# - the size of the file #fiwtime# - the date and time of the last modification
Get File Information command