home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Shareware Masterblend
/
cdsharewaremasterblend.iso
/
mail
/
doc-data
/
config.bat
next >
Wrap
DOS Batch File
|
1990-11-22
|
978b
|
33 lines
ECHO OFF
CLS
IF /%1 == / GOTO ERROR
IF %1 == A: GOTO FLOPPY
IF %1 == a: GOTO FLOPPY
IF %1 == B: GOTO FLOPPY
IF %1 == b: GOTO FLOPPY
IF %1 == C: GOTO HARD
IF %1 == c: GOTO HARD
IF %1 == D: GOTO HARD
IF %1 == d: GOTO HARD
IF %1 == E: GOTO HARD
IF %1 == e: GOTO HARD
GOTO ERROR
:FLOPPY
ECHO Insert bootup disk in %1 drive.
PAUSE
COPY %1\CONFIG.SYS + DDCONFIG.SYS %1\CONFIG.SYS
GOTO END
:HARD
COPY %1\CONFIG.SYS + DDCONFIG.SYS %1\CONFIG.SYS
GOTO END
:ERROR
ECHO If using a dual floppy system, insert your bootup disk in your other
ECHO floppy drive. From the current drive, Type: CONFIG <destination drive>
ECHO plus <Enter>. The destination drive is your bootup disk drive. If you
ECHO are using a hard drive simply type the letter of the drive such as C: or
ECHO or D: as the destination drive. After this is done you will need to
ECHO reboot your system in order for your system to read the two new lines in
ECHO your CONFIG.SYS file.
:END