oem.hlp (Table of Contents; Topic list)
MOVE
 
Notes  Examples
────────────────────────────────────────────────────────────────────────────
 
                                    MOVE
 
Moves one or more files to the location you specify. The MOVE command can
also be used to rename directories.
 
Syntax
 
    MOVE [/Y|/-Y] [drive:][path]filename[,[drive:][path]filename[...]]
    destination
 
Parameters
 
[drive:][path]filename
    Specifies the location and name of the file or files you want to move.
    Also specifies the name of a directory you want to rename.
 
destination
    Specifies the new location of the file, or the new name of the
    directory. 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 specify a filename if you want to rename the file when you move
    it. If you are moving more than one file, the destination must be a
    directory name. Moving a file to an existing file overwrites the
    existing file.
 
Switches
 
/Y
    Indicates that you want MOVE to replace existing file(s) without
    prompting you for confirmation. By default, if you specify an existing
    file as the destination file, MOVE will ask you if you want to overwrite
    the existing file. (Previous versions of MS-DOS would simply replace the
    existing file.) If the MOVE command is part of a batch file, MOVE will
    replace the file without prompting you. Specifying this switch overrides
    all defaults and the current setting of the COPYCMD environment
    variable.
 
/-Y
    Indicates that you want MOVE to prompt you for confirmation when
    replacing an existing file. Specifying this switch overrides all
    defaults and the current setting of the COPYCMD environment variable.
 
                                      ♦