Batch Rename Command Reference (Patterns & Dry Run)
Desktop ModeBrowser ModeRunMacro 3.5+
Batch Rename Files renames many files by find-replace, prefix/suffix, sequence, or a CSV/Excel mapping, with a safe preview mode.
Dialog & quick setup

- Add a File › Batch Rename Files command.
- Enter the folder and a pattern (e.g.
*.jpg). - Choose a rename mode: find-replace, prefix/suffix, sequence, or mapping.
- Fill the matching parameters (find/replace text, prefix, sequence pattern, or mapping file + source/destination columns).
- Run in preview to check the plan variable; when it looks right, turn preview off and run for real. Save.
Options reference
Modes & when to use
Desktop Mode
Operates on the local file system.
Browser Mode
Best for
- Standardize many image/document names.
- Number files by a pattern.
- Rename by an old→new list in Excel/CSV.
Use an alternative when
- You are renaming a single file — use Rename File or Folder.
Before you run
- The folder exists; mapping mode needs a valid CSV/Excel file.
Example workflow
Example: renumber all photos
- Batch Rename: images folder, pattern
*.jpg, mode = sequence, patternIMG_{counter:04}, start 1. - Run preview, check
{batch_rename_preview}; if good, turn preview off and run.
Expected result: In preview: the preview variable holds the plan. When applied: files are renamed per the plan.
Tips & limitations
Always run the preview before applying. If two files map to the same destination, the command reports a collision.
Mapping mode reads .csv, .xlsx, or .xlsm; the source and destination column names must match.
- Names invalid on Windows are flagged.
- Multiple files mapping to one destination cause a collision.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
