home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_ra
/
xr501ins.arj
/
FINISHED.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-30
|
2KB
|
49 lines
@Echo Off
if %6.==. goto exit
%6
if not exist %4 md %4 > NUL
if not exist %5 md %5 > NUL
if %1.==%2. goto nobin1
if exist %2\xrsample.zip copy %2\xrsample.zip %1
if exist %2\xrsample.zip del %2\xrsample.zip
:nobin1
if %1.==%3. goto nodoc2
if exist %1\xr501doc.zip copy %1\xr501doc.zip %3
if exist %1\xr501doc.zip del %1\xr501doc.zip
:nodoc2
if exist %3\xr501doc.zip pkunzip -o %3\xr501doc *.* %3\
if exist %3\xr501doc.zip del %3\xr501doc.zip
if exist %2\response.exe del %2\response.exe
if exist %2\resp_286.exe del %2\resp_286.exe
if exist %1\xrsample.zip pkunzip -o %1\xrsample *.* %1\
if exist %1\xrsample.zip del %1\xrsample.zip
if exist %1\config.xrs goto already
ren %1\config.dmo config.xrs
echo InDir %2 >> %1\CONFIG.XRS
echo BundlePath %3 >> %1\CONFIG.XRS
:already
for %%c in (%1\*.zip) do pkunzip %%c %1\
if exist %1\*.zip del %1\*.zip
if %1.==%3. goto nodoc
if exist %1\*.man copy %1\*.man %3
if exist %1\*.man del %1\*.man
:nodoc
if %1.==%2. goto nobin2
if exist %1\*.dll copy %1\*.dll %2
if exist %1\*.dll del %1\*.dll
if exist %2\xcslang.dll copy %2\xcslang.dll %1
if exist %1\*.dat copy %1\*.dat %2
if exist %1\*.dat del %1\*.dat
if exist %1\*.bat copy %1\*.bat %2
if exist %1\*.bat del %1\*.bat
:nobin2
echo.
if not exist %2\xrconfig.dat goto exit
echo.
echo Unless you want to modify the basic installation configuration,
echo hit [CTRL_C] then answer 'Y' to the "Terminate Batch Job" prompt.
echo Otherwise XRConfig will be run to customize your CONFIG.XRS file.
pause
%2\xrconfig
:exit