home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Format 21
/
Disk21.iso
/
PCF.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-04-26
|
3KB
|
137 lines
@echo off
:start
cls
if %1!==! goto errmess
if %2!==! goto errmess
if "%1" =="a" goto testcd
if "%1" =="A" goto testcd
if "%1" =="b" goto testcd
if "%1"=="B" goto testcd
goto errmess
:testcd
if "%2" =="C" goto loader
if "%2" =="c" goto loader
if "%2"=="D" goto loader
if "%2" =="d" goto loader
if "%2"=="E" goto loader
if "%2" =="e" goto loader
goto errmess
:loader
mainmenu
getkey uajrx
if errorlevel 5 goto exit
if errorlevel 4 goto runes
if errorlevel 3 goto robo
if errorlevel 2 goto astro
if errorlevel 1 goto utils
:runes
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\runes
copy %1:\runes.zip %2:\pcf\runes
copy %1:\pkunzip.exe %2:\pcf\runes
%2:
cd\pcf\runes
pkunzip runes.zip
del runes.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use this most excellent program.
pause
goto loader
:robo
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\games
md %2:\games\demo
copy %1:\robo.zip %2:\games\demo
copy %1:\pkunzip.exe %2:\games\demo
%2:
cd\games\demo
pkunzip robo.zip
del robo.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use this most excellent playable demo.
pause
goto loader
:astro
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\astro
copy %1:\astro.zip %2:\pcf\astro
copy %1:\pkunzip.exe %2:\pcf\astro
%2:
cd\pcf\astro
pkunzip astro.zip
del astro.zip
del pkunzip.exe
astro1
astro2
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to use this most astrological program.
pause
goto loader
:utils
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\utils
copy %1:\utils.zip %2:\utils
copy %1:\pkunzip.exe %2:\utils
%2:
cd\utils
pkunzip utils.zip
del utils.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use these most excellent DOS utilities.
pause
goto loader
:errmess
echo To start the PC FORMAT Coverdisk, please type the following:
@echo.
echo PCF X Y
@echo.
echo X is the letter of the floppy disk drive the Coverdisk is in
echo Y is the letter of your hard disk where the files will be copied to.
@echo.
echo For more information see page 7 of PC FORMAT.
@echo.
pause
goto quit
:exit
cls
goodbye
getkey x
if errorlevel 1 goto quit
:quit
cls
echo on