home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
d
/
dsharp10.zip
/
APATH.BAT
next >
Wrap
DOS Batch File
|
1993-01-24
|
420b
|
13 lines
@ECHO OFF
:::NOTE: The "#" symbol will not work with 4DOS or NDOS
::: Change it to an alphanumeric character (X, 1, etc) if you wish
IF "%1%P#%"=="" ECHO APPEND A DIRECTORY TO PATH:
IF "%1%P#%"=="" ECHO %0 newdirectory
IF NOT "%P#%"=="" PATH %OPATH%
IF NOT "%P#%"=="" SET OPATH=
IF NOT "%P#%"=="" SET P#=
IF NOT "%1"=="" SET OPATH=%PATH%
IF NOT "%1"=="" SET P#=#
IF NOT "%1"=="" PATH %PATH%;%1
PATH