home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / replace / examples.hlp next >
Encoding:
Text File  |  1989-01-01  |  1.8 KB  |  29 lines

  1. SAMPLE command and resulting output     | Comments about the output
  2.  
  3.                                           We are REPLACEing a file called
  4.   REPLACE TUTOR.EXE C:\PROGRAMS           TUTOR.EXE in the current directory
  5.                                           of the default drive to the
  6.     1    file(s) replaced                 PROGRAMS directory on drive C:.
  7.                                           If TUTOR.EXE has been modified since
  8.                                           being REPLACEd, it will copied to
  9.                                           PROGRAMS again.
  10.  
  11.   REPLACE *.* B:                          THIS REPLACE command copies all files
  12.                                           in the default directory to the
  13.  3 file(s) replaced                       current directory of drive B: that
  14.                                           have been modified since being
  15.                                           copied to B:.
  16.  
  17.                                           Here we are making a copy of any
  18.   RELACE /A \WORK \FILECAB                files on \WORK that do not already
  19.                                           exist on \FILECAB. Since several
  20. 29  file(s) replaced                      did not exist, it was a good idea.
  21.  
  22.  
  23.                                           This REPLACE command searches all
  24.   REPLACE /S D:\TMP\NAMES D:              directories that exist on D: for
  25.                                           a file named NAMES, and replaces 
  26. 5   file(s) replaced                      them with the recently updated
  27.                                           version. You cannot use /A and
  28.                                           /S on the same REPLACE command.
  29.