This command uses the following syntax:
Move one or more files:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
Rename a directory:
MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2
The following list describes each of the command line arguments.
drive Specifies the drive to use for the file or directory. The default is to use the current drive.
path Specifies the absolute or relative path to use for the file or directory. The default is to use
the current directory. However, you can specify an absolute or relative path as needed. See the
???Understanding Absolute and Relative Paths??? sidebar in Chapter 9 for additional details.
filename1 Defines one or more filenames to move. Separate multiple filenames using a comma.
RENAMING A FILE WITH THE REN AND RENAME COMMANDS 369
destination Defines the output location for the data that you want to copy. The destination
can include a drive letter and path (absolute or relative). When working with a single file, you
can also rename the file by specifying a different filename.
dirname1 Defines the source directory when moving a directory from one location to another.
Moving a directory always moves any subdirectories and files that the directory contains.
Pages:
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875