MOVE
[/?]
[/A[+|-]drash]
[/S[+|-]drash]
[/NEW]
[/UPDATE]
[/FRESHEN]
[/OLDSRCDIR[+|-]]
[/OLDDESTDIR[+|-]]
[/E/N/Q/U/Z[+|-]]
Filespecs…
Filespec
/?/A/S/E/N/U/Q/OLDSRCDIR/NEW/UPDATE/FRESHEN/OLDSRCDIR/OLDDESTDIR/ZThe MOVE command first processes the contents of the CMD_MOVE_INIT environment variable, if it has inherited one, as if it were a command tail, before processing any of the command tails that have been passed to it. This allows one to modify default options globally. (One can use command aliases or wrapper scripts to achieve the same effect.)
The non-option arguments to MOVE comprise a series of source wildcard search specifications, the first to the penultimate arguments, followed by a destination wildcard substutition specificiation. Where there is only the one non-option argument, it is taken to be a source wildcard search specification, and the destination wildcard substitution specification defaults to "*".
The MOVE command moves all files that match the the source wildcard search specifications, to new names determined by applying the destination wildcard substutition specifications.
Each source file is moved to the directory given in the target filespec (or a subdirectory thereof if the /S option is used). Remember that a filename without a directory prefix is in the current directory.
COPYPLUS COPYSTD MORE RENAME DEL DESCRIBE TRUENAME TYPE