Moves files and directories from one location to another on the same or different drives.
MOVE [/Y | /-Y] [path] filename destinationpath
||Suppresses prompting to confirm creation of a directory or overwriting of the destination.
This is the default when MOVE is used in a batch file.
||Forces a prompt to confirm creation of a directory or overwriting of the destination.
This is the default when MOVE is used from the command line.
- If only one file is to be moved, it can be renamed at the same time by including the new filename in destinationpath.
- If more than one file is listed to be moved, destinationpath must be a directory and the files will retain their original names.
- If a file is moved to a destination where there is already a file with the same name, the moved file overwrites the other (no warnings!).
- Using the "Y" switch overrides all defaults and the current setting of the COPYCMD environment variable.
|0||Successful completion of move.|
|1||Errors in moving one or more files.|
|File Name||Default Location||Dos Ver.||Win Ver.||Size||Date||Source|
Superscripts denote which same size files, if any, are identical (using FC).