home *** CD-ROM | disk | FTP | other *** search
- ADDPATH
-
- ADDPATH is a utility that has been around for a long time
- as a simple batch file. I've used it for years. If you ever
- find yourself maneuvering about in DOS only to find you need to
- add a statement to your PATH you will soon discover the value of
- this program. If your path looks something like:
-
- c:\;\dos;\bin;\utility;\wp;\comm;\db
-
- And you decide you want to add \temp you have to retype
- the whole thing.
- With ADDPATH all you do is type: ADDPATH \temp
-
- You will quickly note, you sharp ones, that this ADDPATH
- is not just a batch file, rather an executable. It has several
- enhancements.
-
- 1. You do not have to put a leading backslash on the first entry, it's
- smart enough to put it there for you if you leave it out.
- 2. If you want to add something temporarily you can remove it
- later by entering ADDPATH -
- 3. It checks your entry, entering a path of a directory that doesn't
- exist, or is empty will first ask you if you're sure.
- If it's a disk drive, however, it doesn't check.
- 4. If you enter a location that is already in the path statement
- it will not enter the duplication.
- 5. It will warn you if it discovers you don't have a path to the
- root directory of the default drive.
- 6. If you forget how to use it just enter ADDPATH ?
-
- Usage: ADDPATH [additional path(s)]
- ADDPATH - to step back to the previous path
-
- Files in this PKZIP
-
- ADDPATH.EXE
- ADDPATH.BC (BATCOM BATCH FILE [ASCII])
- ADDPATH.DOC
- ADPATH.EXE
- ADPATH.BC (BATCOM BATCH FILE [ASCII])
-
-
- ADPATH.EXE (note there's only 1 d) is a short version with
- out the error checking or echos to screen. This is for the DOS purists
- who want minimum program checking (nagware). It's also nice to use in
- batch files to change your path, then reset it. Use the same syntax:
-
- ADPATH [New Path(s)]
- -or-
- ADPATH - to return one level
-
- Quick notes: This was written as a batch file that was
- compiled with BATCOM by Wenham Software. (508) 774-7036. I
- highly recommend the product!
- It uses a small amount of environment variable space. If
- you have already reached your limit on enviroment space don't use
- this program until you expand it! (See your DOS manual). Trying
- to corset too much data in the enviroment can cause your computer
- to crash without grace.
-
- This is such a basic utility program I don't want any money.
- I therefore release it to the public domain for all to have and
- freely use. Source code is included, but be warned, it uses the
- extended commands available only in the BATCOM compiler. The DOS
- command interpreter wouldn't have the foggiest notion on what to
- do with this file as a regular batch file.
-
- Sincerely,
-
- Dan Desjardins
-
- WARNING
- Neither I nor mine are resposible for any damage(s) caused by the use
- of this program. You use it at your own risk. It's use by you
- constitutes agreement to accept all liability for damage caused
- by the application, or misapplication of this program.
- - enjoy!
-