|
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 | Version | Size | Date | Default Location |
| Move.exe |
Win95: Upgrade | 27 235 | 11/07/95 | c:\windows\command |
| Win95: OSR2.5 | 27 235 | 24/08/96 | c:\windows\command
|
|