Create a folder automatically in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
Create Folder makes a folder at a path, can create parents and skip if it exists, then saves the path to a variable.
Dialog & quick setup

- Add a File › Create Folder command.
- Enter the folder path to create (variables allowed).
- Choose whether to create parent folders.
- Choose whether to skip if it already exists.
- (Optional) Rename the output path variable. Save.
Options reference
Modes & when to use
Desktop Mode
Operates on the local file system.
Browser Mode
Best for
- Prepare an output folder before writing files.
- Build a folder structure per date/account.
- Ensure a destination folder exists before copy/move.
Use an alternative when
- You only need to write a file — Write Text File can create parents itself.
Before you run
- Write permission at the destination.
Example workflow
Example: create a dated folder
- Create Folder: path
D:\Output\{today}, enable Create parents. - Use
{last_created_path}as the write location in later steps.
Expected result: The folder exists after running; the output variable holds its absolute path.
Tips & limitations
Enable "Create parents" so you do not have to create each level manually.
- Needs write permission; an invalid path errors and logs a message.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
