Get file path information
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

Get file path information

Gets path information ( drive, path, filename, extension ) of the specified file.

Description
Optionally, you may add comments here describing the purpose of this element.
Filename
Specify the filename you want to get information about.
Variable name
The name of the variable the information will be written to. This command specifies some variables with different postfix and assign them the according information.
There are the following result variables:

Variable nameDescription
[var] The file name without the file path.
[var]name The file name without the extension and the path.
[var]drive The file drive where the file is located.
[var]path The path to the file.
[var]ext The extension of the file without the dot.

Example, if you specified variable name as fp then

#fpext# - the extension of the file 
#fppath# - the path to the file