MOVE

RECENT NEWS

12/18/2015 - Hello! We're excited to announce that Mental Works Computing Software will soon be featuring

12/11/2015 - We're going to announce Dr.Batcher 3.0 Alpha with batch files debugger support soon. If you want to start...

News history...

TESTIMONIALS

Rob van der Woude:
"Mental Works Computing Software has created a nice tool for...

Andrew Jaritsyn:
“I used to write batch files with the help of Notepad, but...

Steve H.:
“This tool helped me to write some batch files in a couple...

More...

MOVE

Moves file(s) from one folder to another.

Syntax:

MOVE [{/y | /-y}] [Source] [Target]

/y – suppresses prompt confirmation of overwriting an existing file.

/-y ‑ enables prompt confirmation of overwriting an existing file.

Source – file(s) to move. Wildcards (*, ?) are allowed.

Target – the path to the folder you want files to move to.

Usage:

MOVE command can also rename folders. To perform this operation, Souce should contain the path to the current folder, and Target should be the new name of the directory.

/y option can be preset with COPYCMD variable.

You cannot move encrypted files to the volume that doesn’t support EFS.

Examples:

Moving files:

MOVE c:\Dir1\*.bat c:\Dir2

Renaming folders:

MOVE c:\Dir1 Dir3

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe