home *** CD-ROM | disk | FTP | other *** search
- Assume that some of the directories on hard disk C: were as
- follows:
-
- C: ROOT DIRECTORY
- ---------
- / | \
- / | \
- / | \
- / | \
- PROJECTS TESTS BUDGETS SUBDIRECTORIES
- -----
- / \
- / \ additional
- DONE PENDING SUBDIRECTORIES
-
-
- In the sample disk structure above we have subdirectories
- PROJECTS, TESTS, BUDGETS, DONE, and PENDING.
-
- SAMPLE command to use PATH | Comments about the output
-
- APPEND C:\PROJECTS;C:\TESTS\DONE This command instructs DOS to search the
- PROJECTS and TESTS\DONE directories for
- an input file that is needed by a command
- but is not in the current directory. If
- APPEND had previously been executed,
- these directories would be added to the
- existing path.
-
- APPEND ; This is how you reset the path back to
- the current directory only.
-
- APPEND To see what directory paths are
- No appended directories currently specified, simply type APPEND
- with no options. In this case, there
- are no directories to be searched other
- than the current directory.
-
- If you use this command when you first
- APPEND \ start your computer, the root directory
- in the current disk drive (that hopefully
- contains DOS and the external commands)
- will always be searched, no matter what
- your current directory is. \ stands for
- the root directory.