home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Format 13
/
Disk13-2.iso
/
PCF.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-25
|
2KB
|
109 lines
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 disk2.ans
getkey 2dx
if errorlevel 3 goto quit
if errorlevel 2 goto dtp
if errorlevel 1 goto dtp256
:dtp
cls
echo Creating directories
md c:\pcf
md c:\pcf\dtp
echo directories created
pause
cls
echo Copying archived file
copy dtp----@.exe c:\pcf\dtp
echo File copied to hard drive
pause
cls
type whatdrv.ans
getkey ba
if errorlevel 2 goto adtp
if errorlevel 1 goto bdtp
:adtp
echo Restoring archive file to normal size
c:
cd\pcf\dtp
dtp----@
del dtp----@.exe
Echo Archive file now restored to normal size
pause
cls
a:
goto start
:bdtp
echo Restoring archive file to normal size
c:
cd\pcf\dtp
dtp----@
del dtp----@.exe
Echo Archive file now restored to normal size
pause
cls
b:
goto start
:dtp256
cls
echo Creating directories
md c:\pcf
md c:\pcf\dtp256
echo directories created
pause
cls
echo Copying archived file
copy dtp256-@.exe c:\pcf\dtp256
echo File copied to hard drive
pause
cls
type whatdrv.ans
getkey ba
if errorlevel 2 goto adtp256
if errorlevel 1 goto bdtp256
:adtp256
echo Restoring archive file to normal size
c:
cd\pcf\dtp256
dtp256-@
del dtp256-@.exe
Echo Archive file now restored to normal size
pause
cls
a:
goto start
:bdtp256
echo Restoring archive file to normal size
c:
cd\pcf\dtp256
dtp256-@
del dtp256-@.exe
Echo Archive file now restored to normal size
pause
cls
b:
goto start
:quit
type goodbye.ans
getkey x
if errorlevel 1 goto end
:end
cls
echo on