Windows XP Pocket Reference

move \ windows \system32\move.exe

move works like copy , except that the source is deleted after the copy is complete. Filename can be a single file, a group of files (separated with commas), or a single file specification with wildcards. The move options are:

move [/y /-y] filename [,...] destination

Option

Description

filename

Specifies the location and name (s) of the file or files you want to move. Wildcards ( * , ? ) are supported.

destination

Specifies the new location (and optionally , the new name) of the file. The destination parameter can consist of a drive, a directory name, or a combination of the two.

/y , /-y

Suppresses or enables prompting, respectively, to confirm the creation of a directory or overwriting of the destination.

Examples

C:\> move myfile.txt d:\files\ C:\> move myfile.txt d:\files\newfile.txt C:\> move d:\files myfiles

Категории