home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / newchdir.arc / C.DOC < prev   
Encoding:
Text File  |  1988-05-28  |  1.5 KB  |  52 lines

  1.  
  2. C.COM by Mark Adler  Pasadena, CA  1988.
  3.  
  4. C.COM is an enhanced change directory (CD) command.  It is used like CD,
  5. except that abbreviations of subdirectory names are accepted.  Only that
  6. part of each subdirectory name that uniquely distinguishes it from the
  7. others is necessary.  For example, suppose the current drive has this
  8. directory tree:
  9.  
  10.  \ ─┬─ DOS
  11.     ├─ BIN ─┬─ TURBOC
  12.     │       ├─ MASM
  13.     │       └─ MATHCAD
  14.     └─ USR ─┬─ UTIL
  15.             └─ BBS ─┬─ COMPUSRV
  16.                     └─ BULL
  17.  
  18. Then the command:
  19.  
  20.         c \u\b\b
  21.  
  22. will make the current directory \USR\BBS\BULL.  The command:
  23.  
  24.         c \b\ma
  25.  
  26. will not change the directory, but instead give the response:
  27.  
  28.         \BIN\ma*.* is ambiguous---it matches: MASM,MATHCAD
  29.  
  30. Then the command:
  31.  
  32.         c \m\mat
  33.  
  34. will make the current directory \BIN\MATHCAD.  Whether changing a
  35. directory or not, C will display the current directory of the drive
  36. specified (or the current drive if none is specified).
  37.  
  38. Without this program, I would have the tendency to give directories
  39. single or two letter cryptic names to make changing among the
  40. directories easier, as well as not utilizing the directory structure to
  41. organize my files.
  42.  
  43. Putting this program on a RAM disk and setting the PATH appropriately
  44. will make C as fast as resident commands (like CD).
  45.  
  46. Feel free to send any problems with or comments on C.COM to:
  47.  
  48.         Mark Adler
  49.         P.O. Box 60998
  50.         Pasadena, CA  91106
  51.  
  52.