home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / dir / examples / subdir.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  24 lines

  1. SAMPLE command and resulting output   | Comments about the output
  2.  
  3.   DIR C:.                This command lists all of the files
  4.                     in the current subdirectory on drive
  5.  Volume in drive C: is CSSDISK        C:. The command DIR C: could also 
  6.  Directory of C:\DONE            be used. The command DIR C:*. would
  7. .          <DIR>    1-01-88        produce a similar listing, except that
  8. ..          <DIR>    1-01-88        only files without an extension on
  9. TUTOR   EXE    48000  12-13-88    3:40p    their names would be listed.
  10. HELP    EXE     3968  12-30-88    3:01p
  11. ENDF    BAK      128   1-03-89    1:34p
  12. ENDF             128   2-07-89    9:13a
  13.       6 File(s)     296960 bytes free
  14.  
  15.   DIR ..                This command lists the files in the
  16.                     parent directory (C:\PROGRAMS).
  17.  
  18.   DIR ..\PENDING            This example shows a shortcut method 
  19.                     to list the files in the subdirectory
  20.                     PENDING, using a relative path name, 
  21.                     rather than the one that begins with 
  22.                     \. The .. tells DOS to back up one 
  23.                     level in the directory tree. 
  24.