home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
pcmag
/
vol4n04.arc
/
RED.DOC
< prev
Wrap
Text File
|
1986-09-11
|
2KB
|
45 lines
RED (Redirect) John Dickinson
Command PC Magazine Vol 4, No 4
Copyright 1985 Ziff-Davis Publishing Company
_______________________________________________________
Purpose: Transfers one (or more) file(s) from one
subdirectory to another without requiring the
use of COPY and ERASE.
Format: RED [d:][path]filename[.ext] [d:][path]
Remarks: Like the DOS COPY command, RED.COM supports
the use of the global characters ? and * in
specifying the desired source files.
Unlike COPY, however, RED.COM does not permit
renaming a file during the transfer process.
(This is why it is unnecessary to supply a
target filename.) Furthermore, RED requires
that the source and target drives be the
same. You cannot, therefore, remove a set of
files from drive C: by trying to REDirect
them to drive A:.
Example: Before submitting your income tax you
calculated it under several different
methods, contained in files named ROUGH1.DAT
through ROUGH6.WKS. These are all in the
subdirectory \IRS on drive C:, and you want
to move them all to a sub-subdirectory (which
you have created) called \1985TAX\DRAFTS.
From the C> prompt enter
\IRS\ROUGH?.* \1985TAX\DRAFTS
and all six files will be moved out of \IRS
and into \1985\DRAFTS.
Note:
1. Requires DOS 2.0 or later.