home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
258.INSTALL2.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-09-28
|
3KB
|
83 lines
cls
echo *********************************************************************
echo * *
echo * DISCatalog Installation *
echo *********************************************************************
if not "%1" == "" goto cont1
if exist c:\disc\disc.exe del c:\disc\*.dat
if exist c:\disc\disc.exe del c:\disc\*.dc1
if exist c:\disc\disc.exe del c:\disc\*.scr
if exist c:\disc\disc.exe del c:\disc\*.hlp
if exist c:\disc\disc.exe del c:\disc\install.bat
if exist c:\disc\uninstal.bat del c:\disc\uninstal.bat
if exist c:\disc\disc.exe del c:\disc\disc.exe
copy *.* c:\disc\*.* /v
modhid uregis.dat
copy regis.dat c:\disc\regis.dat /v > nul:
modhid hregis.dat
modhid hc:\disc\regis.dat
if exist c:\disc\cbtfin.dat goto cdun
echo *
echo *
echo Replace DISCatalog Program Disk (# 1) with the Data Disk (# 2)
echo *
pause
copy *.* c:\disc\*.* /v
:cdun
c:
goto dun
:cont1
if exist %1:%2\disc.exe del %1:%2\*.dat
if exist %1:%2\disc.exe del %1:%2\*.dc1
if exist %1:%2\disc.exe del %1:%2\*.scr
if exist %1:%2\disc.exe del %1:%2\*.hlp
if exist %1:%2\disc.exe del %1:%2\install.bat
if exist %1:%2\uninstal.bat del %1:%2\uninstal.bat
if exist %1:%2\disc.exe del %1:%2\disc.exe
copy *.* %1:%2\*.* /v
modhid uregis.dat
copy regis.dat %1:%2\regis.dat /v > nul:
modhid hregis.dat
modhid h%1:%2\regis.dat
if exist %1:%2\cbtfin.dat goto othrdun
echo *
echo *
echo Replace DISCatalog Program Disk (# 1) with the Data Disk (# 2)
echo *
pause
copy *.* %1:%2\*.* /v
:othrdun
%1:
goto dun
:dun
cls
echo *********************************************************************
echo * *
echo * DISCatalog Installation *
echo *********************************************************************
echo * *
echo * *
echo * *
echo * *
echo * DISCatalog has now been installed *
echo * *
echo * *
echo * Type DISC and press the ENTER key to run DISCatalog *
echo * *
echo * *
echo * *
echo * *
echo * *
echo * *
echo *********************************************************************