home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / ADDPAT.ZIP / ADDPATH.DOC < prev    next >
Encoding:
Text File  |  1990-05-02  |  3.2 KB  |  80 lines

  1.                              ADDPATH
  2.  
  3.         ADDPATH is a utility that has been around for a long time
  4. as a simple batch file.  I've used it for years.  If you ever
  5. find yourself maneuvering about in DOS only to find you need to
  6. add a statement to your PATH you will soon discover the value of
  7. this program.  If your path looks something like:
  8.  
  9.               c:\;\dos;\bin;\utility;\wp;\comm;\db
  10.  
  11.         And you decide you want to add \temp you have to retype
  12. the whole thing.
  13.         With ADDPATH all you do is type: ADDPATH \temp
  14.  
  15.         You will quickly note, you sharp ones, that this ADDPATH
  16. is not just a batch file, rather an executable.  It has several
  17. enhancements.
  18.  
  19. 1.  You do not have to put a leading backslash on the first entry, it's
  20.     smart enough to put it there for you if you leave it out.
  21. 2.  If you want to add something temporarily you can remove it
  22.     later by entering ADDPATH -
  23. 3.  It checks your entry, entering a path of a directory that doesn't
  24.     exist, or is empty will first ask you if you're sure.
  25.     If it's a disk drive, however, it doesn't check.
  26. 4.  If you enter a location that is already in the path statement
  27.     it will not enter the duplication.
  28. 5.  It will warn you if it discovers you don't have a path to the
  29.     root directory of the default drive.
  30. 6.  If you forget how to use it just enter ADDPATH ?
  31.  
  32.         Usage:  ADDPATH [additional path(s)]
  33.                 ADDPATH -  to step back to the previous path
  34.  
  35. Files in this PKZIP
  36.  
  37. ADDPATH.EXE
  38. ADDPATH.BC   (BATCOM BATCH FILE [ASCII])
  39. ADDPATH.DOC
  40. ADPATH.EXE
  41. ADPATH.BC    (BATCOM BATCH FILE [ASCII])
  42.  
  43.  
  44.         ADPATH.EXE (note there's only 1 d) is a short version with
  45. out the error checking or echos to screen.  This is for the DOS purists
  46. who want minimum program checking (nagware).  It's also nice to use in
  47. batch files to change your path, then reset it.  Use the same syntax:
  48.  
  49. ADPATH [New Path(s)]
  50.      -or-
  51. ADPATH - to return one level
  52.  
  53.         Quick notes:  This was written as a batch file that was
  54. compiled with BATCOM by Wenham Software. (508) 774-7036.  I
  55. highly recommend the product!
  56.         It uses a small amount of environment variable space.  If
  57. you have already reached your limit on enviroment space don't use
  58. this program until you expand it! (See your DOS manual).  Trying
  59. to corset too much data in the enviroment can cause your computer
  60. to crash without grace.
  61.  
  62.         This is such a basic utility program I don't want any money.
  63. I therefore release it to the public domain for all to have and
  64. freely use.  Source code is included, but be warned, it uses the
  65. extended commands available only in the BATCOM compiler.  The DOS
  66. command interpreter wouldn't have the foggiest notion on what to
  67. do with this file as a regular batch file.
  68.  
  69.                                 Sincerely,
  70.  
  71.                                 Dan Desjardins
  72.  
  73. WARNING
  74.         Neither I nor mine are resposible for any damage(s) caused by the use
  75.         of this program.  You use it at your own risk.  It's use by you
  76.         constitutes agreement to accept all liability for damage caused
  77.         by the application, or misapplication of this program.
  78.         - enjoy!
  79.  
  80.