Author Topic: HELP! Autoexec.bat problem on Multi OS Bootable CD  (Read 893 times)

kRaZYmAn

  • Guest
HELP! Autoexec.bat problem on Multi OS Bootable CD
« on: January 26, 2003, 05:53:55 PM »
I\'m currently working on a win95/98se/2k/2k adv. server bootable cd. The boot menu I\'ve created by following Twinkies tech-notes.com has the following options:
Install Win98
Install Win95
Install Win 2k
Install Win 2kAS
Boot to Dos w/ CD ROM support
Boot to Hard drive

Now the installs on Win 2k work fine, and the boot to hd and boot to dos both work fine. The Autoexec.bat file I created for the 9x installs craps out before running the setup.exe i call for and dumps me to a command prompt. My autoexec looks like this:
@ECHO OFF
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%
set temp=c:
set tmp=c:
path=%RAMD%:;a:;%CDROM%:
copy command.com %RAMD%: > NUL
set comspec=%RAMD%:command.com
copy extract.exe %RAMD%: > NUL
copy readme.txt %RAMD%: > NUL

:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR

:EXT
%RAMD%:extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.

LH %ramd%:MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
cls
echo Now Installing Windows 98 Second Edition
echo.
echo Loading...
path=%RAMD%:;a:;%CDROM%:UENGLISHWIN98SESetup.exe
echo.
goto quit

:QUIT
rem clean up environment variables
set CDROM=
set LglDrv=

Any help with this would be great. Thanx.

kRaZYmAn

  • Guest
HELP! Autoexec.bat problem on Multi OS Bootable CD
« Reply #1 on: January 31, 2003, 09:49:42 PM »
Figured it out with help from Twinkie....was actually problem with config.sys file....quick tip....ver-batim on his sites writ-up on that helps a lot. Thanx again Twinkie!!