home *** CD-ROM | disk | FTP | other *** search
- SAMPLE command and resulting output | Comments about the output
-
- DIR C:. This command lists all of the files
- in the current subdirectory on drive
- Volume in drive C: is CSSDISK C:. The command DIR C: could also
- Directory of C:\DONE be used. The command DIR C:*. would
- . <DIR> 1-01-88 produce a similar listing, except that
- .. <DIR> 1-01-88 only files without an extension on
- TUTOR EXE 48000 12-13-88 3:40p their names would be listed.
- 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 .. This command lists the files in the
- parent directory (C:\PROGRAMS).
-
- DIR ..\PENDING This example shows a shortcut method
- to list the files in the subdirectory
- PENDING, using a relative path name,
- rather than the one that begins with
- \. The .. tells DOS to back up one
- level in the directory tree.