home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 10 Great Racing & Driving Games
/
RACING.ISO
/
booter.bat
< prev
next >
Wrap
DOS Batch File
|
1995-09-11
|
2KB
|
125 lines
@ECHO OFF
ECHO.
ECHO WELCOME TO BOOTER.BAT.
ECHO.
ECHO THIS PROGRAM REQUIRES MS-DOS 6.0 OR BETTER TO OPERATE
ECHO.
ECHO PRESS SPACE BAR TO CONTINUE OR PRESS CTRL-C AT THE SAME TIME TO EXIT
ECHO.
PAUSE
:START
CLS
ECHO.
ECHO.
ECHO CHOOSE FROM THE FOLLOWING OPTIONS
ECHO.
ECHO A:) MAKE AN EDITABLE BOOT DISK FOR RUNNING OFF THE CD
ECHO.
ECHO B:) MAKE A SIMPLE BOOT DISK FOR RUNNING OFF THE HARD DRIVE
ECHO.
ECHO C:) MAKE BACKUPS OF ORIGINAL STARTUP FILES
ECHO.
ECHO D:) RESTORE ORIGINAL STARTUP FILES
ECHO.
ECHO Q:) BACK FROM WENCE YOU CAME (IE. EXIT)
ECHO.
ECHO PLEASE MAKE YOUR CHOICE (A,B,C,D or Q)
ECHO.
CHOICE /C:ABCDQ ENTER CHOICE
IF NOT ERRORLEVEL 1 GOTO START
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO AMOVE
IF ERRORLEVEL 2 IF NOT ERRORLEVEL 3 GOTO BMOVE
IF ERRORLEVEL 3 IF NOT ERRORLEVEL 4 GOTO CMOVE
IF ERRORLEVEL 4 IF NOT ERRORLEVEL 5 GOTO DMOVE
IF ERRORLEVEL 5 IF NOT ERRORLEVEL 6 GOTO QMOVE
IF ERRORLEVEL 6 GOTO START
:AMOVE
CLS
ECHO.
ECHO.
ECHO PLEASE INSERT A BLANK FLOPPY INTO YOUR A: DRIVE
ECHO.
PAUSE
FORMAT A: /S
C:
CD\
COPY CONFIG.SYS A:
COPY AUTOEXEC.BAT A:
COPY C:\DOS\CHKSTATE.SYS A:
COPY C:\DOS\EMM386.EXE A:
COPY C:\DOS\HIMEM.SYS A:
COPY C:\DOS\MEMMAKER.SYS A:
COPY C:\DOS\SIZER.EXE A:
ECHO.
ECHO ABOUT TO ENTER CONFIG.SYS FILE TO ALLOW YOU TO MAKE CHANGES
ECHO.
PAUSE
EDIT CONFIG.SYS
ECHO.
ECHO ABOUT TO ENTER AUTOEXEC.BAT FILE TO ALLOW YOU TO MAKE CHANGES
ECHO.
PAUSE
EDIT AUTOEXEC.BAT
PAUSE
GOTO START
:BMOVE
CLS
ECHO.
ECHO.
ECHO PLEASE INSERT A BLANK FLOPPY INTO YOUR A: DRIVE
ECHO.
PAUSE
FORMAT A: /S
COPY CONFIG.SMP A:\CONFIG.SYS
COPY AUTOEXEC.SMP A:\AUTOEXEC.BAT
ECHO.
ECHO SIMPLE BOOT DISK CREATED
ECHO.
PAUSE
GOTO START
:CMOVE
CLS
C:
CD\
MD GSBACK > NUL
CD\
COPY CONFIG.SYS C:\GSBACK
COPY AUTOEXEC.BAT C:\GSBACK
ECHO.
ECHO ORIGINAL STARTUP FILES ARE BACKED UP IN "C:\GSBACK"
ECHO.
PAUSE
GOTO START
:DMOVE
CLS
C:
CD\
MOVE CONFIG.SYS C:\GSBACK\CONFIG.DAV
MOVE AUTOEXEC.BAT C:\GSBACK\AUTOEXEC.DAV
CD GSBACK
MOVE CONFIG.SYS C:\
MOVE AUTOEXEC.BAT C:\
ECHO.
ECHO ORIGINAL STARTUP FILES ARE RESTORED
ECHO.
PAUSE
GOTO START
:QMOVE
ECHO.
ECHO GOODBYE
ECHO.
PAUSE
:END