Moves files and directories from one location to another on the same or different drives.
Syntax:
MOVE [/Y | /-Y] [path] filename destinationpath
/Y |
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. |
/-Y |
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. |
Notes:
- 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.
Exit Codes:
0 | Successful completion of move. |
1 | Errors in moving one or more files. |
File Details
File Name | Default Location | Dos Ver. | Win Ver. | Size | Date | Source |
Move.exe | c:\windows\command |
7.0 | Win95 |
27 2351 | 11/07/95 | win95_09.cab |
7.1 | Win95 (OSR2.x) |
27 2351 | 24/08/96 | win95_14.cab |
Win98 |
27 2992 | 11/05/98 | win98_41.cab |
Win98 SE |
27 2992 | 23/04/99 | win98_46.cab |
Superscripts denote which same size files, if any, are identical (using FC).
|