Docs
RunMacro Documentation
Learn RunMacro from basics to advanced.
Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

Create a folder automatically in RunMacro
Create Folder makes a folder at a path, can create parents and skip if it exists, then saves the path to a variable.
Prerequisites
- Write permission at the destination.
Supported modes
- Desktop Mode — Operates on the local file system.
- Browser Mode
What it does
The Create Folder command creates a folder at the path you enter. It can also create any missing parent folders, and skip quietly if the folder already exists. The created path is saved to a variable for later steps.
When to use it
- Prepare an output folder before writing files.
- Build a folder structure per date/account.
- Ensure a destination folder exists before copy/move.
When not to use it
- You only need to write a file — Write Text File can create parents itself.
Configuration steps
- 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.
Every option explained
Expected result
The folder exists after running; the output variable holds its absolute path.
Real example
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.
Limitations and failure cases
- Needs write permission; an invalid path errors and logs a message.
Tips & common mistakes
Enable "Create parents" so you do not have to create each level manually.
Verification details
commands/filesystem.py
RunMacro