When using File / Folder Watcher, sometimes it is very important to provide consequent Action with information what files / folders have been watched and in what location on disk (path).
Instead of providing fixed values when configuring File Actions, user can specify that these values are to be taken from File / Folder Watcher by using Variable Wizard when applicable.
Variable Wizard gathers data on monitored files / folders and allows using it as parameters in Actions.
|Preset||Choose one of the available presets that determines which parts of monitored file name will be returned: |
|Example||Shows a typical example of file / folder name formatted according to selected preset.|
Assuming that File / Folder Watcher is set to monitor "C:\My Documents\" folder including its subfolders and then activated by "C:\My Documents\Images\My Picture.jpg" file, the returned variable values of each preset are listed below:
|Full path and filename||Preview|
|Full path and filename||C:\My Documents\Images\My Picture.jpg|
Filename preset returns filename without its location on disk. User can specify whether filename, extension, or both are returned.
Regardless of monitored folder and its subfolders, the absolute path preset returns full path of the folder containing monitored file. Drive letter and backslash are optional.
|Absolute path||\My Documents\Images|
|Ending backslash||\My Documents\Images\|
Relative path returns watched file and subfolder path that mediates monitored folder and watched file. The monitored folder and higher ones are not included. Optionally, only subfolder path without name of watched file can be returned.
Watched folder preset returns the full path of folder monitored by File / Folder Watcher.
|Watched folder||C:\My Documents|
|Ending backslash||C:\My Documents\|
Drive preset allows retrieving different versions of letter of the drive on which watched file is located. If file is located in UNC network path, empty driver variable value is returned.
Custom preset allows combining necessary components (and skipping the ones not needed) into custom variable value. Supplemented with 8.3 file name format, custom preset provides good means for variable integration into various Actions and external applications.
Note that on file systems that do not support 8.3 file names (e.g. exFAT) the long file name will be returned by Variable Wizard even if 8.3 file name value is requested.
If you have any questions, please do not hesitate to contact our support team.