home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dirutl
/
move11.arc
/
MOVE.DOC
< prev
Wrap
Text File
|
1987-11-10
|
2KB
|
49 lines
Version 1.1 MOVE
(11-10-87) Command
----------------------------------------------------------
Mark D. Stevens Copyright 1987
----------------------------------------------------------
Purpose: Moves files around on the same disk. Files
being moved within the same directory must have
different names.
Format: MOVE sourcepath [destinationpath] [/r] [/q]
Remarks: The 'sourcepath' and 'destinationpath' may be
a file name, a complete path name, or a sub-
directory and may include wildcard characters.
If 'sourcepath' is a subdirectory, then a
wildcard of '*.*' is assumed and all files from
that subdirectory are moved to 'destinationpath'.
If 'destinationpath' is not included, than the
current directory is assumed.
The optional '/r' parameter is used to replace
existing destination files. If it is not
specified, then no files will be overwritten and
an error message will be produced.
The optional '/q' parameter is used to indicate
that no progress messages are to be displayed.
This is known as (q)uiet mode. Error messages
will be displayed regardless of the (q)uiet mode
setting.
This command does an internal rename of the file(s)
and therefore is much quicker than using copy and
then delete. If you are going from one drive to
another than you must use the copy and delete
method, as renaming files across disks is not
supported.
Author: Mark D. Stevens (GEnie Mail: MDSTEVENS)
13502 Greencastle Ridge Terrace, #401
Burtonsville, Maryland 20866
Please write with any comments or suggestions.