I set my cdrom drive letter to load as Z and a DIR command in DOS shows it is booting in that drive letter.
The last part is giving me some issues however. I want a line added to AUTOEXEC.BAT to allow me to copy win95 setup files from the cd to C:\CABS. The line i added to create the cabs directory on drive C works, but the line added after that to copy the files isnt. It keeps saying invalid path, although i can manually CD my way there and have checked spelling errors which they are none.
Below is my edited AUTOEXEC.BAT, highlighted in bold are the lines i have added thats not working. I assume the setup.exe line should work once those files gets copied?
** Problem found and fixed, edited AUTOEXEC.BAT below with correct switchs. **
Thanks.
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%
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 95 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:Z
echo.
cls
echo Windows 95B OS2 Setup
echo ====================
echo.
echo Do You Want To Quick Format Drive C ?
format c: /q /s /v:WIN_95
echo.
CLS
echo Copy 95B Setup Files To Drive C ?
echo.
pause
MD C:\CABS
COPY Z:\SETUP\95OS2\WIN95\*.* C:\CABS
echo.
CLS
echo Setup Is Ready To Start 95B Install
echo.
Pause
C:\CABS\SETUP.EXE /is
echo.
GOTO QUIT
:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=



Help

Back to top









