Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs File Move File or Folder
➡ File

Move a file or folder automatically in RunMacro

Move File or Folder relocates source to destination (leaving the old spot), with a conflict policy, and saves the final path to a variable.

Prerequisites#

  • Source exists; write access at both source and destination.

Supported modes#

  • Desktop Mode — Operates on the local file system.
  • Browser Mode

What it does#

The Move File or Folder command relocates content from a source to a destination (the original no longer stays in place). You choose how to handle an existing destination. The final path is saved to a variable.

Screenshots & video#

RunMacro Move File or Folder command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Move File or Folder command in RunMacro.

When to use it#

  • Sort processed files into a "done" folder.
  • Relocate an output file.
  • Consolidate and move data between folders.

When not to use it#

  • You want to keep the original — use Copy File or Folder.

Configuration steps#

  1. Add a File › Move File or Folder command.
  2. Enter the source path and destination path.
  3. Choose a conflict policy. Save.

Every option explained#

Source path#

The file or folder to move.

Destination path#

Where to move to. If the destination is a folder, the item is placed inside using its original name.

Conflict policy#

error, skip, overwrite, or unique_name.

Output variable#

Variable that receives the final path after moving (default last_moved_path).

Expected result#

Content appears at the destination and is gone from the source; the output variable holds the final path.

Real example#

Example: move a processed file#

  1. Move: source {current_file}, destination done\, conflict = unique name.

Limitations and failure cases#

  • Cannot move a folder into itself.

Tips & common mistakes#

Moving does not keep the original. Verify the destination before running in bulk.

Verification details#

  • commands/filesystem.py
RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.