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 DONE is the current
- directory.
-
- SAMPLE command and resulting output | Comments about the output
-
- DIR C: This command lists all files in the
- current directory (DONE) of drive
- Volume in drive C: has no label C:. The information displayed is:
- Directory of C:\DONE
-
- . <DIR> 1-01-88 FILENAME EXTENSION SIZE DATE TIME
- .. <DIR> 1-01-88
- TUTOR EXE 48000 12-13-88 3:40p in column order.
- HELP EXE 3968 12-30-88 3:01p
- ENDF BAK 128 1-03-89 1:34p
- ENDF 128 2-07-89 9:13a
- 6 File(s) 296960 bytes free
-
-
- DIR C:\PROJECTS\*.NEW This DIR displays all of the files
- in the PROJECTS directory that end
- Volume in drive C: is CSSDISK in .NEW.
- Directory of C:\PROJECTS
-
- TUTOR NEW 48000 12-13-88 3:21p
- PAL NEW 121228 2-04-89 8:32a
- 2 File(s) 328480 bytes free
-
- DIR C:\ | FIND ".BAS" This example would give a directory
- listing of only the basic programs in
- TUTOR BAS 2028 12-13-88 3:21p the root directory of C:.
- PAL BAS 1228 2-04-89 8:32a