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. Assume that before beginning with
- these examples, the subdirectory TESTS is the current directory.
-
- SAMPLE command to use RD | Comments about the output
-
- RD PENDING To remove the subdirectory PENDING
- under TESTS.
-
- RD C:\PROJECTS This command will remove the subdirectory
- PROJECTS on C:, no matter what the current
- directory was when this command was typed.
-
- RD \ This command will get an error message. The
- root directory always exists and cannot be
- deleted.