PCF.BAT  ·  BAT  ·  1.4 KB  ·  1991-11-20  ·  from PCFormat_Issue-04_Jan-1992_Disk-2
echo off
cls

:start
nocurs
disp pcfiss4 2
getkey xfv

if errorlevel 3 goto vgacad
if errorlevel 2 goto freecell
if errorlevel 1 goto quit

:vgacad
disp pcfiss41 2
getkey abcm

if errorlevel 4 goto start
if errorlevel 3 goto ccopy
if errorlevel 2 goto bcopy
if errorlevel 1 goto acopy

:acopy
cls
echo Please insert a blank formated disk in drive A
echo Do you wish to continue (Y/N)
getkey yn
if errorlevel 2 goto vgacad
if errorlevel 1 goto ai 
:ai
copy vcad.exe a:\
ai:
vcad
vgacad
goto start

:bcopy
cls
echo Please insert a blank formatted disk in drive B
echo Do you wish to continue (Y/N)
getkey yn
if errorlevel 2 goto vgacad
if errorlevel 1 goto bi
:bi
copy vcad.exe b:\
b:
vcad
vgacad
goto start

:ccopy
cls
echo This will create a directory on your hard drive called VGACAD
echo and install the program there.
echo Do you wish to continue (Y/N)
getkey yn
if errorlevel 2 goto vgacad
if errorlevel 1 goto ci

:ci
cls
echo is this disk in drive A or B (A/B)
getkey ab
if errorlevel 2 goto cb
if errorlevel 1 goto ca

:ca
echo on
md c:\vgacad
copy vcad.exe c:\vgacad
c:
cd vgacad
vcad
vgacad
echo off
a:
goto start

:cb
echo on
md c:\vgacad
copy vcad.exe c:\vgacad
c:
cd vgacad
vcad
vgacad
echo off
b:
goto start

:freecell
cls
freecell
goto start

:quit
cls
echo thankyou for using the PCF Cover Disk.
cd\
pause