PCF.BAT  ·  BAT  ·  1.1 KB  ·  1992-09-01  ·  from PCFormat_Issue-13_Oct-1992_Disk-1
echo off
cls
echo If the the next screen show anything other than the PC FORMAT main menu
echo please ensure that you insert a line in your CONFIG.SYS file reading
echo DEVICE=C:\DOS\ANSI.SYS
echo to insert this line, please refer to your DOS manual's section on EDLIN.
pause
:start
type disk1.ans
getkey fax
if errorlevel 3 goto exit
if errorlevel 2 goto aaplay
if errorlevel 1 goto samurai

:samurai
cls
install
goto quit

:aaplay
cls
echo Creating directories
md c:\pcf
md c:\pcf\aaplay
echo Directories created
pause
cls
echo Copying compressed file
copy \aaplay\*.* c:\pcf\aaplay
echo Compressed file copied to hard disk
pause
type whatd.ans
getkey ba
if errorlevel 2 goto aplay
if errorlevel 1 goto bplay

:aplay
cls
echo Restoring compressed file to normal size 
c:
cd\pcf\aaplay
play
del play.exe
echo Compressed file restored to normal size
a:
goto start

:bplay
cls
echo Restoring compressed file to normal size
c:
cd\pcf\aaplay
play
del play.exe
echo Compressed file restored to normal size
pause
b:
goto start

:exit
type goodbye.ans
getkey x
if errorlevel 1 goto quit

:quit
cls