@if "%debug%"=="" echo off rem rem NwDsk (c) Erwin Veermans rem http://www.veder.com/nwdsk/ rem rem Fd288ara.bat is used to create Fd288ara.img (or SFX Fd288ara.exe) rem (IPX 16 client including Packet Driver and Arachne) rem rem When you would like to create Fd288ara.img yourself rem instead of downloading it, you should run this rem batch file in your NwDsk dir (next to NwDsk.bat). rem rem Check if everything is there if not exist nwdsk.bat goto _end if not exist bin\deltree.com goto _end if not exist bin\sedmod.exe goto _end if not exist bin\bfi.exe goto _end if not exist bin\mkbt.exe goto _end rem Set nwext set flopsz=7 set nwext= if exist cabs\nwlan.zip set nwext=zip if exist cabs\nwlan.uha set nwext=uha if exist cabs\nwlan.lzh set nwext=lzh if exist cabs\nwlan.cab set nwext=cab if "%nwext%"=="" goto _end set nwarc= if "%nwext%"=="zip" set nwarc=/1 if "%nwext%"=="lzh" set nwarc=/2 if "%nwext%"=="uha" set nwarc=/3 if "%1"==":" if not "%2"=="" goto %2 rem Delete target-dir if exist bin\deltree.com bin\deltree /y Fd288ara rem Make default FreeDos NwDsk call nwdsk.bat Fd288ara dos\freedos /00 %nwarc% if errorlevel 1 goto _end rem Adjust default NwDsk :_adjust rem Emm386 in Config.sys goto _skpemm bin\xcopy.exe dos\freedos\old\emm386.exe Fd288ara\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\qhimem.sys Fd288ara\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\config.sys Fd288ara\. /I /H /N /Y :_skpemm rem Add all Odi32-drivers bin\xcopy.exe cabs\odi32\*.%nwext% Fd288ara\lib\odi32\. /E /I /H /N /Y rem Drop Nics and recopy selected ones bin\deltree.com /y Fd288ara\lib\odi16\*.* bin\xcopy.exe cabs\odi16\dc21x4.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\fem556od.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\3c574.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\elpc575.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\e3000odi.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\3c589.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y bin\xcopy.exe cabs\odi16\e100bodi.%nwext% Fd288ara\lib\odi16\. /I /H /N /Y rem Add IP utils to \level0\ bin\xcopy.exe cabs\lpprd.%nwext% Fd288ara\level0\. /I /H /N /Y rem Delete rem bin\deltree.com /y Fd288ara\Level0\idle.%nwext% rem bin\deltree.com /y Fd288ara\Level1\idle.%nwext% rem bin\deltree.com /y Fd288ara\Level2\idle.%nwext% bin\deltree.com /y Fd288ara\Level0\lfn.%nwext% bin\deltree.com /y Fd288ara\Level1\lfn.%nwext% bin\deltree.com /y Fd288ara\Level0\ntfs.%nwext% bin\deltree.com /y Fd288ara\Level1\ntfs.%nwext% bin\deltree.com /y Fd288ara\Level0\aspiusb.%nwext% bin\deltree.com /y Fd288ara\Level1\aspiusb.%nwext% bin\deltree.com /y Fd288ara\Level0\vc.%nwext% bin\deltree.com /y Fd288ara\Level1\vc.%nwext% bin\deltree.com /y Fd288ara\Level0\freedos.%nwext% bin\deltree.com /y Fd288ara\Level1\freedos.%nwext% bin\deltree.com /y Fd288ara\Level0\what1632.%nwext% bin\deltree.com /y Fd288ara\Level1\what1632.%nwext% bin\deltree.com /y Fd288ara\Level0\cdrom.%nwext% bin\deltree.com /y Fd288ara\Level1\cdrom.%nwext% bin\deltree.com /y Fd288ara\bin\qcdrom.sys bin\deltree.com /y Fd288ara\Level0\cdsys.%nwext% bin\deltree.com /y Fd288ara\Lib\cdsys.%nwext% bin\deltree.com /y Fd288ara\Lib\atapicd.%nwext% bin\deltree.com /y Fd288ara\Lib\eltorito.%nwext% bin\deltree.com /y Fd288ara\Lib\shsucdx.%nwext% bin\deltree.com /y Fd288ara\Level0\shsucdx.%nwext% bin\deltree.com /y Fd288ara\Level1\cbcombo.%nwext% bin\deltree.com /y Fd288ara\bin\lbacache.%nwext% rem Add Cbcombo to \level1\ rem if exist cabs\cbcombo.%nwext% bin\xcopy.exe cabs\cbcombo.%nwext% Fd288ara\level1\. /I /H /N /Y rem Add Arachne bin\xcopy.exe cabs\arachne.%nwext% Fd288ara\level0\. /I /H /N /Y rem Remove NetWare 32 bit client components bin\deltree.com /y Fd288Ara\lib\nwslp32.%nwext% bin\deltree.com /y Fd288Ara\lib\nwtcp32.%nwext% bin\deltree.com /y Fd288Ara\lib\nwipx32.%nwext% bin\deltree.com /y Fd288Ara\lib\nw32clnt.%nwext% bin\deltree.com /y Fd288Ara\lib\tinyhost.%nwext% rem Add NetWare 16 bit client bin\xcopy.exe cabs\nw1616.%nwext% Fd288ara\lib\. /I /H /N /Y bin\xcopy.exe cabs\nwpkt.%nwext% Fd288ara\lib\. /I /H /N /Y rem Add Profiles and Global.set bin\xcopy.exe bin\wattcp\*.* Fd288ara\etc\. /E /I /H /N /Y bin\deltree.com /y Fd288ara\etc\profile\arachn16.* bin\xcopy.exe bin\kbfl.com Fd288ara\bin\. /I /H /N /Y bin\inifile.com Fd288ara\etc\global.set []P_NONICBLD=1 rem Add _nwlan.32, _nwlan.16 if exist bin\Fdnwd288\_nwlan16.pci bin\xcopy.exe bin\Fdnwd288\_nwlan16.pci Fd288ara\etc\. /I /H /N /Y if exist bin\Fdnwd288\_nwlan32.pci bin\xcopy.exe bin\Fdnwd288\_nwlan32.pci Fd288ara\etc\. /I /H /N /Y rem Add UBCD HomePage :_home bin\lmod.com /s /l* [$1]=[$2:!]Fd288ara\etc\arachne.tmp bin\inifile.com Fd288ara\etc\arachne.tmp [internet]HomePage=http://ubcd.sourceforge.net/ bin\lmod.com /s= /l* [$1] [$2:!]Fd288ara\etc\arachne.cfg del Fd288ara\etc\arachne.tmp >nul rem Write Diskid.txt if not exist Fd288ara.cmt goto _nodiskid type bin\diskid.1 > Fd288ara\diskid.txt type Fd288ara.cmt >> Fd288ara\diskid.txt type bin\diskid.2 >> Fd288ara\diskid.txt :_nodiskid rem Sqeeze Nics :_sqeeze if not exist Cabs\Pcidevs.%nwext% call Nwdsk.bat Fd288ara /!! %nwarc% if errorlevel 1 goto _end rem Build a diskette image from this dir :_bfi if exist Fd288ara.img del Fd288ara.img > nul if exist Fd288ara.imz del Fd288ara.imz > nul if exist Fd288ara.exe del Fd288ara.exe > nul bin\bfi.exe -t=%flopsz% -f=Fd288ara.img -b=bin\freedos.144 -l=NwDsk340fds Fd288ara :_end set flopsz= set nwarc= set nwext=