Hi Friends,
I'm trying do make my own BOOT CD. But I have some problems with understanding the autoexec file. Is here anyone who could comment this autoexec file step by step what are doing all this lines??
@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
IF "%config%"=="NETCD" echo Loading Network Configuration Utility v3.55
IF "%config%"=="NET" echo Loading Network Configuration Utility v3.55
IF "%config%"=="GIGNET" echo Loading Network Configuration Utility v3.55
call setramd.bat %LglDrv%
set temp=%RAMD%:\tmp
set tmp=%RAMD%:\tmp
path=%RAMD%:\;a:\;%CDROM%:\
copy a:\command.com %RAMD%:\ >nul
set comspec=%RAMD%:\command.com
IF "%config%"=="NONE" GOTO QUIT
:EXT
%RAMD%:
MD NET
IF "%config%"=="CD" goto NONET
IF "%config%"=="NONE" goto NONET
A:\archive makeboot.exe %RAMD%:\NET >nul
A:\archive netcards.ini %RAMD%:\NET >nul
A:\archive tcputils.ini %RAMD%:\NET >nul
COPY A:\LMHOSTS %RAMD%:\NET > nul
%RAMD%:
CD NET
%RAMD%:\NET\makeboot.exe /n%RAMD%:\NET
:NONET
echo Copying System Files into memory...
COPY A:\ARCHIVE.EXE %RAMD%:\ >nul
echo.
echo Extracting...
%RAMD%:\archive -N %RAMD%:\NET >nul
%RAMD%:
IF "%config%"=="NET" GOTO NET
IF "%config%"=="GIGNET" GOTO NET
LH %ramd%:\NET\MSCDEX.EXE /D:mscd001 /L:%CDROM%
IF "%config%"=="NETCD" GOTO NET
echo.
GOTO QUIT
:NET
CLS
%RAMD%:
CD\NET
path=%path%;a:\;%RAMD%:;%RAMD%:\NET
if exist a:\netdrv\*.* copy a:\netdrv\*.* %RAMD%:\net
LH %RAMD%:\net\net initialize
%RAMD%:\net\netbind.com
%RAMD%:\net\umb.com
LH %RAMD%:\net\tcptsr.exe
LH %RAMD%:\net\tinyrfc.exe
LH %RAMD%:\net\nmtsr.exe
LH %RAMD%:\net\emsbfr.exe
if exist %RAMD%:\net\runlast.bat call %RAMD%:\net\runlast.bat
if not exist %RAMD%:\net\runlast.bat LH %RAMD%:\net\net logon /SAVEPW:NO /Y
goto QUIT
:QUIT
set CDROM=
set LglDrv=
Regards
SLiDer84