Dec 102017
This is a collection of program that are batch file utilities that will make changes to your path statement by adding, changing, deleting, and inserting directories into the path. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
ADDPATH.COM | 4498 | 2809 | deflated |
ADDPATH.DOC | 3786 | 1204 | deflated |
CHGPATH.COM | 4884 | 3006 | deflated |
DELPATH.COM | 4658 | 2868 | deflated |
INSPATH.COM | 4788 | 2961 | deflated |
Download File ADDPT1.ZIP Here
Contents of the ADDPATH.DOC file
ADDPATH, CHGPATH, DELPATH, and INSPATH version 1.1 are Copyright (c) 1989 by
Paul W. Pritchard [76566,1532]. All rights reserved.
Certain portions of the code are Copyright (c) 1989 by Cyco software and
Bart Mellink [76702,256]. Used with permission.
Disclaimer.
The author claims no responsibility for any damages caused by the use or
misuse of these programs. These programs are distribution "as is" with no
warranty expressed or implied. The author will not be responsible for any
losses incurred by the use of these programs.
Introduction.
ADDPATH, CHGPATH, DELPATH, and INSPATH are batch file utilities designed
to facilitate changes to your path statement by adding, changing, deleting,
and inserting directories into the path. Some programs are unable to find
their associated files, such as overlay or configuration information, unless
you are currently in their directory or add their directory to your path
statement. A long path statement causes searches in directories that are
used only when these programs run. With these programs it is possible to
design a batch file that modifies the path statement, runs the program,
then changes the path back to normal.
Addpath.
To add a directory to the end of the path enter ADDPATH followed by the
pathname of the directory.
Example: if your path statement is PATH=C:\;C:\DOS and you want to add
C:\UTIL, enter ADDPATH C:\UTIL. The resulting path will be
PATH=C:\;C:\DOS;C:\UTIL.
Errorlevels returned by ADDPATH are:
0 - no error
1 - no directory was specified on the command line
2 - directory already in path
3 - environment area full
Chgpath.
To change a directory in the path to another directory, enter CHGPATH
followed by the pathnames of the old and new directories.
Example: if your path statement is PATH=C:\;C:\DOS;C:\UTIL and you want to
change C:\UTIL to C:\UTILITY, enter CHGPATH C:\UTIL C:\UTILITY. The
resulting path will be PATH=C:\;C:\DOS;C:\UTILITY.
Errorlevels returned by CHGPATH are:
0 - no error
1 - less than 2 directories were specified on the command line
2 - old directory not in path, or new directory already in path
3 - environment area full
Delpath.
To delete a directory from the path enter DELPATH followed by the pathname of
the directory.
Example: if your path statement is PATH=C:\;C:\DOS;C:\UTIL and you want to
delete C:\DOS, enter DELPATH C:\DOS. The resulting path will be
PATH=C:\;C:\UTIL.
Errorlevels returned by DELPATH are:
0 - no error
1 - no directory was specified on the command line
2 - directory not in path
3 - environment area full
Inspath.
To insert a directory into the path enter INSPATH followed by the pathnames of
the directory to insert before and the directory to insert. If you want to
insert a directory at the end of the path, use ADDPATH.
Example: if your path statement is PATH=C:\;C:\UTIL and you want to insert
C:\DOS before C:\UTIL, enter INSPATH C:\UTIL C:\DOS. The resulting
path will be PATH=C:\;C:\DOS;C:\UTIL.
Errorlevels returned by INSPATH are:
0 - no error
1 - less than 2 directories were specified on the command line
2 - before directory not in path, or new directory already in path
3 - environment area full
Revision history.
02/07/89 Version 1.0. Initial release of ADDPATH and DELPATH.
02/13/89 Version 1.1. Added CHGPATH and INSPATH. Fixed bugs in ADDPATH
and DELPATH (thanks to Tom Clark for pointing out bug in ADDPATH).
Changed from EXE to COM files.
December 10, 2017
Add comments