home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
dos
/
tools
/
pock46
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-07-15
|
972b
|
50 lines
echo off
cls
echo.
echo PocketD/PocketD Plus installation. (Exit Windows before running)
echo.
echo This will optionally install for both DOS and Windows
D /Yny/ /'//@t&RDo you want proceed with installation?'
if errorlevel 2 goto ok
echo Install aborted...
echo.
goto exit2
:ok
if exist install.bat goto START
echo ERROR! The INSTALL program must be run from the installation directory
goto exit2
:START
D /I[PATH=$l$2r$B;%PATH%//]~>NEWP.bat
D /Yny/ /'/@t&GOK to modify AUTOEXEC.BAT to include path?&w'
if errorlevel 2 goto MODAUTO
echo AUTOEXEC.BAT not modified
goto WIN
:MODAUTO
if exist c:\autoexec.bat goto CONT
ECHO.
ECHO C:\AUTOEXEC.BAT not found
ECHO.
goto WIN
:CONT
type NEWP.BAT>>c:\autoexec.bat
:WIN
D /Yny/ /'/@t&WOK to install for Windows?&w'
if errorlevel 2 goto WINOK
echo.
echo Windows installation skipped
echo.
goto exit
:WINOK
WINSTALL POCKETDP.GRP POCKETD.ICO POCKETD.TXT
:exit
newp
:exit2