home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / dir / examples / help.hlm next >
Encoding:
Text File  |  1989-01-01  |  2.0 KB  |  51 lines

  1. Assume that some of the directories on hard disk C: were as 
  2. follows:
  3.  
  4.                      C:                  ROOT DIRECTORY
  5.                  ---------
  6.                 /    |    \
  7.                /     |     \
  8.               /      |      \
  9.              /       |       \
  10.          PROJECTS  TESTS   BUDGETS       SUBDIRECTORIES
  11.                    -----
  12.                   /     \
  13.                  /       \                 additional
  14.               DONE      PENDING          SUBDIRECTORIES
  15.  
  16.  
  17.      In the sample disk structure above we have subdirectories 
  18. PROJECTS, TESTS, BUDGETS, DONE, and PENDING.  Assume that before
  19. beginning with these examples, the subdirectory DONE is the current  
  20. directory. 
  21.  
  22. SAMPLE command and resulting output      | Comments about the output
  23.  
  24.   DIR C:                                   This command lists all files in the
  25.                                            current directory (DONE) of drive 
  26.  Volume in drive C: has no label           C:. The information displayed is:
  27.  Directory of C:\DONE
  28.  
  29. .          <DIR>    1-01-88           FILENAME EXTENSION  SIZE  DATE  TIME
  30. ..          <DIR>    1-01-88
  31. TUTOR   EXE    48000  12-13-88    3:40p    in column order.
  32. HELP    EXE     3968  12-30-88    3:01p
  33. ENDF    BAK      128   1-03-89    1:34p
  34. ENDF             128   2-07-89    9:13a
  35.       6 File(s)     296960 bytes free
  36.  
  37.  
  38.   DIR C:\PROJECTS\*.NEW                    This DIR displays all of the files
  39.                                            in the PROJECTS directory that end
  40.  Volume in drive C: is CSSDISK             in .NEW.
  41.  Directory of C:\PROJECTS
  42.  
  43. TUTOR   NEW    48000  12-13-88    3:21p
  44. PAL     NEW   121228   2-04-89    8:32a
  45.       2 File(s)     328480 bytes free
  46.  
  47.   DIR C:\ | FIND ".BAS"                  This example would give a directory
  48.                                          listing of only the basic programs in
  49. TUTOR   BAS     2028  12-13-88    3:21p  the root directory of C:.
  50. PAL     BAS     1228   2-04-89    8:32a
  51.