Quincy Center for Technical Education
Computer Technology Department

Move

Moves one or more files from one directory to the specified directory.

move [/y | /-y] [source] [target]

Parameters

/y

Suppresses prompting to confirm you want to overwrite an existing destination file.

The /y switch may be preset in the COPYCMD environment variable. This may be overridden with /-y on the command line. The default is to prompt on overwrites unless the copy command is being executed from within a batch script.

/-y

Causes prompting to confirm you want to overwrite an existing destination file.

source

Specifies the path and name of the file or files to move. If you want to move or rename a directory, source should be the current directory path and name.

target

Specifies the path and name to move files to. If you want to move or rename a directory, target should be the desired directory path and name.