The attachment has all the files needed to inject into your current images sepeated by folders.
Both include a JO.SYS file which gives you the option to boot from hardrive or CDROM with hardrive being default with a 10 second timer. This is best if you use these for seperate Windows cd's.
So, if you use these for a multiboot CD or DVD, you will need to edit in your paths to the windows folder inside the Autoexec.bat and it would be better to not use the JO.SYS file so the multi-boot menu jumps straight to the Autoexec.bat.
The Autoexec.bat included is edited assuming the WIN95 and WIN98 folders are in the root of the cd.
Quote
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
copy choice.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
copy rebooter.exe %RAMD%:\ > NUL
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo.
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:M
echo.
smartdrv.exe /q
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
:ERROR
IF EXIST ebd.cab GOTO MAIN
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:MAIN
CLS
echo Windows 98SE Setup Main Menu
echo =============================
echo.
ECHO Press 1. Run The FDISK Utility To Create Or Delete Partitions
ECHO Press 2. Go To The Format Menu With Full Or Quick Options
ECHO Press 3. Copy The 98 CD Files To Drive C And Begin Setup
ECHO Press 4. Start The 98 SE Setup Straight From The CDROM
echo.
ECHO Press 5. Exit To DOS Prompt
ECHO Press 6. Reboot The Computer
echo.
CHOICE /C:123456 /N /T:5,60 Press the Number Key To Choose a Menu Option.
IF ERRORLEVEL == 6 GOTO REBOOT
IF ERRORLEVEL == 5 GOTO QUIT
IF ERRORLEVEL == 4 GOTO CDROM
IF ERRORLEVEL == 3 GOTO DRIVEC
IF ERRORLEVEL == 2 GOTO FORMAT
IF ERRORLEVEL == 1 GOTO FDISK
:FDISK
CLS
FDISK.EXE
GOTO REBOOT
:DRIVEC
CLS
MD C:\CABS
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
XCOPY *.* C:\CABS\*.* /s
CLS
echo Setup Is Ready To Start 98SE Install.
echo ===================================
echo.
echo Once Setup Begins You Can Remove The CD.
echo.
echo.
Pause
C:\CABS\SETUP.EXE /nf /ie /is
GOTO QUIT
:CDROM
CLS
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
echo.
SETUP.EXE /nf /ie /is
GOTO QUIT
:FORMAT
CLS
echo Format Options Menu
echo ====================
echo.
ECHO Quick options are only for partitions that have been
ECHO previously full formated.
echo.
ECHO Drive D options are only for extended partitions
ECHO that was created using FDISK.
echo.
ECHO Press 1. Full Format Of Drive C
ECHO Press 2. Quick Format Of Drive C
echo.
ECHO Press 3. Full Format Of Drive D
ECHO Press 4. Quick Format Of Drive D
echo.
ECHO Press 5. Go Back To Main Menu
ECHO Press 6. Exit To DOS Prompt
ECHO Press 7. Reboot the Computer
echo.
echo.
CHOICE /C:1234567 /N /T:6,60 Press the Number Key To Choose a Menu Option.
IF ERRORLEVEL == 7 GOTO REBOOT
IF ERRORLEVEL == 6 GOTO QUIT
IF ERRORLEVEL == 5 GOTO MAIN
IF ERRORLEVEL == 4 GOTO QUICKD
IF ERRORLEVEL == 3 GOTO FULLD
IF ERRORLEVEL == 2 GOTO QUICKC
IF ERRORLEVEL == 1 GOTO FULLC
:FULLC
CLS
ECHO Press Y or N followed by the Enter key to begin.
ECHO -------------------------------------------------------------
echo.
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
FORMAT C: /s /v:WIN_98
GOTO MAIN
:QUICKC
CLS
ECHO Press Y or N followed by the Enter key to begin.
ECHO -------------------------------------------------------------
echo.
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
FORMAT C: /q /s /v:WIN_98
GOTO MAIN
:FULLD
CLS
ECHO Press Y or N followed by the Enter key to begin.
ECHO -------------------------------------------------------------
echo.
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
FORMAT D: /s /v:DRV_D
GOTO MAIN
:QUICKD
CLS
ECHO Press Y or N followed by the Enter key to begin.
ECHO -------------------------------------------------------------
echo.
path=a:\;%CDROM%\
%CDROM%
CD \WIN98
FORMAT D: /q /s /v:DRV_D
GOTO MAIN
:NOCDROM
echo.
echo Dude, the Windows 98 cd wasnt detected.
pause
echo.
:REBOOT
CLS
ECHO Rebooting Computer.....
REBOOTER.EXE
:QUIT
CLS
echo To get help, type HELP and press ENTER.
rem clean up environment variables
set CDROM=
set LglDrv=
Attached File(s)
-
95_98_Custom_Boot_Files.zip (98.06K)
Number of downloads: 198



Help

Back to top









