home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
dos
/
tbavx651
/
installx.bat
next >
Wrap
DOS Batch File
|
1995-12-09
|
982b
|
44 lines
@echo off
cls
if %1X==X goto error1
if %1X==0X goto ok
if %1X==1X goto ok
if %1X==2X goto ok
if %1X==3X goto ok
goto error1
:ok
if %2X==X goto error2
copy tbavx.doc %2
copy tbdrive%1.exe %2\tbdriver.exe
copy tbcheck%1.exe %2\tbcheck.exe
copy tbdisk%1.exe %2\tbdisk.exe
copy tbmem%1.exe %2\tbmem.exe
copy tbscanx%1.exe %2\tbscanx.exe
%2\tbsetup %2
cd\
cls
goto end
:error1
echo Error: No version entered!
echo.
echo Start again and enter a 0, 1 2 or 3 for the wanted version update.
echo.
echo Example: if you want your version in C:\TBAV updated with version 3, enter
echo INSTALLX 3 C:\TBAV [enter]
echo.
goto end
:error2
echo Error: No destination path specified!
echo.
echo You have to specify the destination path for the TBAV utilities!
echo Even if the utilities are already in the destination path.
echo.
echo Example:
echo If the TBAV utilities are or should be copied to C:\TBAV, please type:
echo INSTALL C:\TBAV
echo.
:end