🧡 Skip to main content🔍 Skip to search

When using File & Folder Watcher, sometimes it is very important to provide subsequent Actions with information what files and folders have been watched and in what location on disk (path).

Instead of providing fixed values when configuring File Actions, a user can specify that these values are to be taken from File & Folder Watcher by using Variable Wizard when applicable.

VariableDetails
Preset Choose one of the available presets that determines which parts of monitored file name will be returned:
  • Full path and filename · contains full data that allows to uniquely specify the monitored file.
  • Filename · contains only a file name without its location on disk.
  • Absolute path · contains a full path in which the file is located.
  • Relative path · contains a subfolder with or without the name of the file located in it.
  • Watched folder · contains a path of the folder that is being monitored.
  • Drive · a letter of the drive on which the file is monitored.
  • Custom · custom selection of full path and file name elements.
  • Old name · returns the old file name. Applies only to rename operations. Also populated when the Smart file operation detection cooldown option is enabled and the final manipulation in the operation chain is file renaming.
Example Shows a typical example of file and folder name, formatted according to the selected preset.
Adjust()Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.
YouTube video · Detect 1 and email 3 files

Example…

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

PresetDetails
Full path and filename C:\My Documents\Images\My Picture.jpg

Filename

Filename preset returns filename without its location on disk. A user can specify whether a filename, extension, or both are returned.

OptionDetails
Filename My Picture.jpg
File My Picture
Extension .jpg

Absolute path

Regardless of the monitored folder and its subfolders, the absolute path preset returns the full path of the folder containing the monitored file. Drive letter and backslash are optional.

OptionDetails
Absolute path \My Documents\Images
Drive C:\My Documents\Images
Trailing backslash \My Documents\Images\

Relative path

Relative path contains the subfolders and filename without the watched folder (or absolute path). Optionally, only the subfolder path without the filename can be obtained.

OptionDetails
Relative path Images
Trailing backslash Images\
File Images\My Picture.jpg

Watched folder

Watched folder preset returns the full path of the folder monitored by File & Folder Watcher.

OptionDetails
Watched folder C:\My Documents
Trailing backslash C:\My Documents\

Drive

Drive preset allows retrieving different variations of the drive letter. If the file is located in an UNC network path, an empty driver variable value is returned.

OptionDetails
Drive C
Colon C:
Trailing backslash C:\

Custom

The custom preset allows combining necessary components (and skipping the ones not needed) into a custom variable value. Supplemented with 8.3 file name format, the custom preset provides good means for variable integration into subsequent Actions and external applications.

On file systems that do not support the 8.3 file names (e.g., exFAT) the long file name will be returned by the Variable Wizard even if an 8.3 file name value is requested.

8.3 filenames are provided for backward compatibility on legacy systems and are not necessary on modern Windows systems.

OptionDetails
Drive C:
Path \My Documents\Images\
File My Picture
Extension .jpg
8.3 filename C:\MYDOCU~1\IMAGES\MYPICT~1.JPG

Old name

The Old name preset contains the original filename of a file before it was renamed. It contains a value only when the option to Watch for renamed files is selected.

OptionDetails
Drive C:
Path \My Documents\Images\
File img7202412
Extension .jpg

Multi-triggers?

Complex workflows often incorporate multiple File & Folder Watcher Triggers. Are you wondering how to pull dynamic variables from the Trigger which set your workflow in motion? Or perhaps you need to pull data from any given Trigger, regardless of the activation criteria?

With the multi-triggering feature, accessing filenames of monitored files and folders becomes a breeze—simply fetch the values from Any File & Folder Watcher category—and Automation Workshop will seamlessly connect your Actions with the right triggering data, ensuring a smooth operation without any extra effort. Experience immediate automation advantages across both local servers and distant machines!

Seamless automation in action! 90 seconds to efficiency.

Need assistance?

If you have any questions, please do not hesitate to contact our support team.