
Moves files and renames files and directories. To move one or more files: To rename a directory: [drive:][path]filename1 Specifies the location and name of the file |
|
| destination | Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you are moving only one file, you can also include a filename if you want to rename the file when you move it. |
| [drive:][path]dirname1 | Specifies the directory you want to rename. |
| dirname2 | Specifies the new name of the directory. |
| /Y | Suppresses prompting to confirm you want to overwrite an existing destination file. |
| /-Y | Causes prompting to confirm you want to overwrite an existing destination file. |
| The switch /Y may be present in the COPYCMD environment variable. |
|