Read file or folder metadata in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
File Info reads metadata (exists, size, name, times...) of a file/folder into a group of prefixed variables.
Dialog & quick setup

- Add a File › File Info command.
- Enter the path to read.
- (Optional) Restrict the kind (auto/file/folder).
- (Optional) Change the output variable prefix (default
file_). Save.
Options reference
Modes & when to use
Desktop Mode
Operates on the local file system.
Browser Mode
Best for
- Branch on a file size or modified time.
- Get the name/extension to build another file name.
- Check whether a path exists and is a file or folder.
Use an alternative when
- You only need existence — IF File Exists is simpler.
Before you run
- The path exists (otherwise branch on the exists flag).
Example workflow
Example: only process non-empty files
- File Info: path
{current_file}, prefixf_. - Use IF Variable to compare
{f_size}and branch.
Expected result: The prefixed variable group is filled with the path metadata.
Tips & limitations
Time variables use ISO format (e.g. 2026-07-24T10:30:00), convenient for string comparison.
- Size is a byte count as a string; convert to a number for math.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
