Command
MOVE -- Move file(s).
Synopsis
MOVE [path1/]<filename1> [path2/][filename2]
Availability
Within PZTDOS mode only. Non-sysops do not have access to
this command.
Description
Moves the file(s) specified by the first argument (source) to
the new location and/or name(s) specified by the second
argument (target). Both filenames may contain wildcards.
"source" must not be a directory. If it doesn't contain a
path, the current working directory is assumed.
"target" may be a directory. If a filename is not specified,
the original name(s) are used. If target is a single file,
the source must also be a single file.
If source and target filenames are different the file(s) will
be renamed at the same time.
Examples
MOVE fred.doc test.doc Rename only.
MOVE test.txt /mystuff Move only.
MOVE \test.doc /tmp\fred.txt Move with rename.
Portability
This command follows normal MSDOS v 7 syntax, apart from the
ability to rename a directory, which is not implemented.
Paths may contain both forward (/) and backward (\) slashes.
Unlike XR16/32, in XRPi this command does not support "drive letters", and pathnames (but not commands) are case-sensitive.
Limitations
Path and file names may not contain spaces.
See also
COPY(3) -- Copy files
DOS(2) -- Enter PZTDOS mode
REN(3) -- Rename files