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
-
- PATH C:\PROJECTS;C:\TESTS\DONE This command instructs DOS to search the
- PROJECTS and TESTS\DONE directories
- for a command that is not specified with
- a pathname if the program to respond to
- that command is not found in the current
- directory.
-
- PATH ; This is how you reset the path back to
- the current directory only.
-
- PATH To see what directory paths are
- No Path currently specified, simply type PATH
- 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
- PATH \ 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.