f$FileInfo (f$DateiInfo)
f$FileInfo (f$DateiInfo)
Calculate creation date, modification date and file size for the specified file.
Additionally, the individual components of the file name are returned.
Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").
Please note: the name of the parameter group is usually given in string constants, i.e. in quotation marks.
Syntax: | Status = f$DateiInfo (Datei, PGName) | ||
| Argument | Type | Meaning |
| Filename | String | File name including path |
| PGName | String | Name of a parameter group of the type TDV:Dateiinfo The following parameters in the specified parameter group are recorded: Date created – date the file was created Date updated – date the file was last modified Size – size of the file in bytes. Please note the following: For files larger than 2GB, the size is only determined correctly in a 64-bit environment. A 2GB limit applies when displaying an integer parameter. If the value is assigned to a decimal parameter, it will be displayed correctly. Drive – drive letter for the file name or empty string if a UNC path Folder – folder name Entirename – entire file name includingfolder and extension Name – name of the file without folder or extension Extension – file's extension |
Result: | Integer | -1 : file does not exist | |
Example: | Document = 'C:\Acbis\EPOS\prog\exe32\EposStart.exe' Result: ![]() | ||
