home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / pcmag / vol4n04.arc / RED.DOC < prev   
Text File  |  1986-09-11  |  2KB  |  45 lines

  1.  
  2.           RED (Redirect)                          John Dickinson
  3.           Command                        PC Magazine Vol 4, No 4
  4.         Copyright 1985 Ziff-Davis Publishing Company
  5.           _______________________________________________________
  6.  
  7.           Purpose:  Transfers one (or more) file(s) from one
  8.                     subdirectory to another without requiring the
  9.                     use of COPY and ERASE.
  10.  
  11.           Format:   RED [d:][path]filename[.ext] [d:][path]
  12.  
  13.           Remarks:  Like the DOS COPY command, RED.COM supports
  14.                     the use of the global characters ? and * in
  15.                     specifying the desired source files.
  16.  
  17.                     Unlike COPY, however, RED.COM does not permit
  18.                     renaming a file during the transfer process.
  19.                     (This is why it is unnecessary to supply a
  20.                     target filename.)  Furthermore, RED requires
  21.                     that the source and target drives be the
  22.                     same.  You cannot, therefore, remove a set of
  23.                     files from drive C: by trying to REDirect
  24.                     them to drive A:.
  25.  
  26.           Example:  Before submitting your income tax you
  27.                     calculated it under several different
  28.                     methods, contained in files named ROUGH1.DAT
  29.                     through ROUGH6.WKS.  These are all in the
  30.                     subdirectory \IRS on drive C:, and you want
  31.                     to move them all to a sub-subdirectory (which
  32.                     you have created) called \1985TAX\DRAFTS.
  33.                     From the C> prompt enter
  34.  
  35.                          \IRS\ROUGH?.* \1985TAX\DRAFTS
  36.  
  37.                     and all six files will be moved out of \IRS
  38.                     and into \1985\DRAFTS.
  39.  
  40.                     Note:
  41.  
  42.                     1.   Requires DOS 2.0 or later.
  43.  
  44.  
  45.