@if "%debug%"=="" echo off rem rem NwDsk (c) Erwin Veermans rem http://www.veder.com/nwdsk/ rem rem Fd32e0.bat is used to create Fd32e0.img (or SFX Fd32e0.exe) rem (Barebone 32bit TCPIP Client with only 32bit ODI drivers) rem rem When you would like to create Fd32e0.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=10 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 Fd32e0 rem Make default FreeDos NwDsk call nwdsk.bat Fd32e0 dos\freedos /00 %nwarc% if errorlevel 1 goto _end rem Adjust default NwDsk :_adjust rem Emm386 in Config.sys rem goto _skpemm bin\xcopy.exe dos\freedos\old\emm386.exe Fd32e0\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\qhimem.sys Fd32e0\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\config.sys Fd32e0\. /I /H /N /Y :_skpemm rem Add all Odi32-drivers bin\xcopy.exe cabs\odi32\*.* Fd32e0\lib\odi32\. /E /I /H /N /Y rem Remove the Token-Ring / FDDI drivers bin\deltree.com /y Fd32e0\lib\odi32\cmdgodi.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\octok162.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\ibmtrpo.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\3c3x9.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\tlnkpodi.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\skfpnw.%nwext% rem Remove Big driver bin\deltree.com /y Fd32e0\lib\odi32\3c986.%nwext% bin\deltree.com /y Fd32e0\lib\odi32\3c99x.%nwext% rem Remove the Odi16-driver(s) bin\deltree.com /y Fd32e0\lib\odi16 rem Remove Token-Ring, FDDI, Packet Driver, 16 bit ODI, IPX bin\deltree.com /y Fd32e0\lib\nw32pktt.%nwext% bin\deltree.com /y Fd32e0\lib\nw32pktf.%nwext% bin\deltree.com /y Fd32e0\lib\nw3232t.%nwext% bin\deltree.com /y Fd32e0\lib\nw3232f.%nwext% bin\deltree.com /y Fd32e0\lib\nw1632.%nwext% bin\deltree.com /y Fd32e0\lib\nwipx32.%nwext% bin\deltree.com /y Fd32e0\lib\nwpkt.%nwext% bin\deltree.com /y Fd32e0\lib\nw32pkt.%nwext% bin\deltree.com /y Fd32e0\lib\nw32pkte.%nwext% bin\deltree.com /y Fd32e0\lib\nw1616.%nwext% bin\deltree.com /y Fd32e0\lib\tinyhost.%nwext% rem Remove \Level0\ (except Utils/Utilz) bin\deltree.com /y Fd32e0\level0\lfn.%nwext% bin\deltree.com /y Fd32e0\level1\lfn.%nwext% bin\deltree.com /y Fd32e0\level0\menu.%nwext% bin\deltree.com /y Fd32e0\level1\menu.%nwext% bin\deltree.com /y Fd32e0\level0\freedos.%nwext% bin\deltree.com /y Fd32e0\level1\freedos.%nwext% bin\deltree.com /y Fd32e0\level0\ntfs.%nwext% bin\deltree.com /y Fd32e0\level1\ntfs.%nwext% bin\deltree.com /y Fd32e0\level0\vc.%nwext% bin\deltree.com /y Fd32e0\level1\vc.%nwext% bin\deltree.com /y Fd32e0\level0\mouse.%nwext% bin\deltree.com /y Fd32e0\level1\mouse.%nwext% bin\deltree.com /y Fd32e0\level0\help.%nwext% bin\deltree.com /y Fd32e0\level1\help.%nwext% bin\deltree.com /y Fd32e0\level0\cdrom.%nwext% bin\deltree.com /y Fd32e0\level1\cdrom.%nwext% bin\deltree.com /y Fd32e0\level0\keybrd.%nwext% bin\deltree.com /y Fd32e0\level1\keybrd.%nwext% bin\deltree.com /y Fd32e0\level0\aspiusb.%nwext% bin\deltree.com /y Fd32e0\level1\aspiusb.%nwext% bin\deltree.com /y Fd32e0\level0\cbcombo.%nwext% bin\deltree.com /y Fd32e0\level1\cbcombo.%nwext% bin\deltree.com /y Fd32e0\level0\what1632.%nwext% bin\deltree.com /y Fd32e0\level1\what1632.%nwext% bin\deltree.com /y Fd32e0\level2\idle.%nwext% bin\deltree.com /y Fd32e0\bin\2peruse.%nwext% bin\deltree.com /y Fd32e0\bin\174zeno.%nwext% bin\deltree.com /y Fd32e0\bin\qcdrom.sys bin\deltree.com /y Fd32e0\level0\cdsys.%nwext% bin\deltree.com /y Fd32e0\lib\cdsys.%nwext% bin\deltree.com /y Fd32e0\lib\atapicd.%nwext% bin\deltree.com /y Fd32e0\lib\eltorito.%nwext% bin\deltree.com /y Fd32e0\lib\shsucdx.%nwext% bin\deltree.com /y Fd32e0\level0\shsucdx.%nwext% rem Add _nwlan.32 if exist bin\Fd1632lp\_nwlan32.pci bin\xcopy.exe bin\Fd1632lp\_nwlan32.pci Fd32e0\etc\. /I /H /N /Y bin\deltree.com /y Fd32e0\etc\_nwlan16.pci rem Write Diskid.txt if not exist Fd32e0.cmt goto _nodiskid type bin\diskid.1 > Fd32e0\diskid.txt type Fd32e0.cmt >> Fd32e0\diskid.txt type bin\diskid.2 >> Fd32e0\diskid.txt :_nodiskid rem Sqeeze Nics :_sqeeze if not exist Cabs\Pcidevs.%nwext% call Nwdsk.bat Fd32e0 /!! %nwarc% if errorlevel 1 goto _end rem Build a diskette image from this dir :_bfi if exist Fd32e0.img del Fd32e0.img > nul if exist Fd32e0.imz del Fd32e0.imz > nul if exist Fd32e0.exe del Fd32e0.exe > nul bin\bfi.exe -t=%flopsz% -f=Fd32e0.img -b=bin\freedos.144 -l=NwDsk340fds Fd32e0 :_end set flopsz= set nwarc= set nwext=