home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
sysutl
/
addpath.arc
/
ADDPATH.BAT
next >
Wrap
DOS Batch File
|
1987-12-06
|
412b
|
17 lines
: addpath.bat by Rick Sattler 11-22-87
: Portland, Oregon
: This batch file will expand the DOS PATH environment
: to include the added path assignment.
: If no parameter is specified, then an error message is
: shown giving the correct syntax.
echo off
cls
if !%1==! goto noparm
goto addpath
:addpath
path=%path%;%1
goto exit
:noparm
echo no parameter specified - addpath [d:][pathname]
:exit