home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Format 22
/
Disk22.iso
/
PCF.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-03
|
5KB
|
220 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 prfmdvutx
if errorlevel 9 goto exit
if errorlevel 8 goto turtle
if errorlevel 7 goto utils1
if errorlevel 6 goto vedit
if errorlevel 5 goto fdesign
if errorlevel 4 goto maze
if errorlevel 3 goto fallout
if errorlevel 2 goto roball
if errorlevel 1 goto pddemo
:turtle
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\povfiles
copy %1:\turtle.zip %2:\pcf\povfiles
copy %1:\pkunzip.exe %2:\pcf\povfiles
%2:
cd\pcf\povfiles
pkunzip turtle.zip
del turtle.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use this Persistance of Vision file.
pause
goto loader
:utils1
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\utils
copy %1:\utils1.zip %2:\utils
copy %1:\pkunzip.exe %2:\utils
%2:
cd\utils
pkunzip utils1.zip
del utils1.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use these utilities.
pause
goto loader
:vedit
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\vedit
copy %1:\vedit.zip %2:\pcf\vedit
copy %1:\pkunzip.exe %2:\pcf\vedit
%2:
cd\pcf\vedit
pkunzip vedit.zip
del vedit.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to use this great program.
pause
goto loader
:fdesign
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\fdesign
copy %1:\fdesign.zip %2:\pcf\fdesign
copy %1:\pkunzip.exe %2:\pcf\fdesign
%2:
cd\pcf\fdesign
pkunzip fdesign.zip
del fdesign.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use this superb fractal graphics program.
pause
goto loader
:maze
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\pcf
md %2:\pcf\maze
copy %1:\maze.zip %2:\pcf\maze
copy %1:\pkunzip.exe %2:\pcf\maze
%2:
cd\pcf\maze
pkunzip maze.zip
del maze.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to run and use this program.
pause
goto loader
:fallout
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\games
md %2:\games\fallout
copy %1:\fallout.zip %2:\games\fallout
copy %1:\pkunzip.exe %2:\games\fallout
%2:
cd\games\fallout
pkunzip fallout.zip
del fallout.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on how
echo to play this great shareware game.
pause
goto loader
:roball
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\games
md %2:\games\roball
copy %1:\roball2.zip %2:\games\roball
copy %1:\pkunzip.exe %2:\games\roball
%2:
cd\games\roball
pkunzip roball2.zip
del roball2.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the PC FORMAT Coverdisk pages for information
echo on how to play this fantastic shareware game.
pause
goto loader
:pddemo
cls
echo Please wait while the PC FORMAT Coverdisk copies
echo the relevant files to your "%2" drive.
md %2:\games
md %2:\games\pddemo
copy %1:\pddemo.zip %2:\games\pddemo
copy %1:\pkunzip.exe %2:\games\pddemo
%2:
cd\games\pddemo
pkunzip pddemo.zip
del pddemo.zip
del pkunzip.exe
%1:
echo.
echo Please refer to the Coverdisk pages for information on
echo how to play this great Pinball Dreams demo.
pause
goto loader
:errmess
echo To start the PC FORMAT Coverdisk, please type the following:
@echo.
echo PCF X Y
@echo.
echo where X is the letter of the floppy disk drive the Coverdisk is in
echo and where Y is the letter of your hard disk where the files will be copied to.
@echo.
echo For example: PCF A C [Enter] if you are copying from
echo the A drive to the C drive.
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