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

  1. Assume that some of the directories on hard disk C: were as 
  2. follows:
  3.  
  4.              C:            ROOT DIRECTORY
  5.          ---------
  6.         /    |    \
  7.            /     |     \
  8.           /      |      \
  9.          /       |       \
  10.      PROJECTS  TESTS   BUDGETS    SUBDIRECTORIES
  11.            -----
  12.           /     \
  13.          /       \           additional
  14.           DONE      PENDING        SUBDIRECTORIES
  15.  
  16.  
  17.      In the sample disk structure above we have subdirectories 
  18. PROJECTS, TESTS, BUDGETS, DONE, and PENDING.  
  19.  
  20. SAMPLE command to use PATH     | Comments about the output
  21.  
  22.   APPEND C:\PROJECTS;C:\TESTS\DONE This command instructs DOS to search the
  23.                  PROJECTS and TESTS\DONE directories for 
  24.                  an input file that is needed by a command
  25.                  but is not in the current directory. If
  26.                  APPEND had previously been executed,
  27.                  these directories would be added to the
  28.                  existing path.
  29.  
  30.   APPEND ;            This is how you reset the path back to
  31.                 the current directory only.
  32.  
  33.   APPEND            To see what directory paths are
  34. No appended directories        currently specified, simply type APPEND
  35.                 with no options.  In this case, there
  36.                 are no directories to be searched other
  37.                 than the current directory.
  38.  
  39.                 If you use this command when you first
  40.   APPEND \            start your computer, the root directory
  41.                 in the current disk drive (that hopefully
  42.                 contains DOS and the external commands)
  43.                 will always be searched, no matter what 
  44.                 your current directory is. \ stands for 
  45.                 the root directory.
  46.