@if "%debug%"=="" echo off rem rem NwDsk (c) Erwin Veermans rem http://www.veder.com/nwdsk/ rem rem Fd16vnc.bat is used to create Fd16vnc.img (or SFX Fd16vnc.exe) rem (16 bit client, all ODI16 drivers, all utilities) rem rem When you would like to create Fd16vnc.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=6 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 Fd16vnc rem Make default FreeDos NwDsk call nwdsk.bat Fd16vnc 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 Fd16vnc\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\qhimem.sys Fd16vnc\bin\. /I /H /N /Y bin\xcopy.exe dos\freedos\old\config.sys Fd16vnc\. /I /H /N /Y :_skpemm rem Remove the Odi32-drivers bin\deltree.com /y Fd16vnc\lib\odi32 rem Add all Odi16-drivers bin\xcopy.exe cabs\odi16\*.* Fd16vnc\lib\odi16\. /E /I /H /N /Y rem Remove \Level0\ bin\deltree.com /y Fd16vnc\level0\lfn.%nwext% bin\deltree.com /y Fd16vnc\level1\lfn.%nwext% bin\deltree.com /y Fd16vnc\level0\freedos.%nwext% bin\deltree.com /y Fd16vnc\level1\freedos.%nwext% bin\deltree.com /y Fd16vnc\level0\ntfs.%nwext% bin\deltree.com /y Fd16vnc\level1\ntfs.%nwext% bin\deltree.com /y Fd16vnc\level0\aspiusb.%nwext% bin\deltree.com /y Fd16vnc\level1\aspiusb.%nwext% bin\deltree.com /y Fd16vnc\level0\vc.%nwext% bin\deltree.com /y Fd16vnc\level1\vc.%nwext% rem Add Cbcombo to \level1\ if exist cabs\cbcombo.%nwext% bin\xcopy.exe cabs\cbcombo.%nwext% Fd16vnc\level1\. /I /H /N /Y rem Add IP Print Server PPRD to \level0\ bin\xcopy.exe cabs\lpprd.%nwext% Fd16vnc\level0\. /I /H /N /Y rem Move Nwlan to \Level2\ bin\xcopy.exe Fd16vnc\level3\nwlan.%nwext% Fd16vnc\level2\. /I /H /N /Y bin\deltree.com /y Fd16vnc\level3\nwlan.%nwext% rem Remove CDROM bin\deltree.com /y Fd16vnc\bin\qcdrom.sys bin\deltree.com /y Fd16vnc\level0\cdsys.%nwext% bin\deltree.com /y Fd16vnc\lib\cdsys.%nwext% bin\deltree.com /y Fd16vnc\lib\atapicd.%nwext% bin\deltree.com /y Fd16vnc\lib\eltorito.%nwext% bin\deltree.com /y Fd16vnc\lib\shsucdx.%nwext% bin\deltree.com /y Fd16vnc\level0\shsucdx.%nwext% bin\deltree.com /y Fd16vnc\level0\cdrom.%nwext% bin\deltree.com /y Fd16vnc\level1\cdrom.%nwext% rem Add VNC if exist cabs\vnc.%nwext% bin\xcopy.exe cabs\vnc.%nwext% Fd16vnc\level3\. /I /H /N /Y rem Remove NetWare 32 bit client bin\deltree.com /y Fd16vnc\lib\nw32pkt.%nwext% bin\deltree.com /y Fd16vnc\lib\nw32pkte.%nwext% bin\deltree.com /y Fd16vnc\lib\nw32pktt.%nwext% bin\deltree.com /y Fd16vnc\lib\nw32pktf.%nwext% bin\deltree.com /y Fd16vnc\lib\nw3232t.%nwext% bin\deltree.com /y Fd16vnc\lib\nw3232f.%nwext% bin\deltree.com /y Fd16vnc\lib\nw3232e.%nwext% bin\deltree.com /y Fd16vnc\lib\nw3232.%nwext% bin\deltree.com /y Fd16vnc\lib\nw1632.%nwext% bin\deltree.com /y Fd16vnc\lib\nwipx32.%nwext% bin\deltree.com /y Fd16vnc\lib\nwtcp32.%nwext% bin\deltree.com /y Fd16vnc\lib\nwodi32.%nwext% bin\deltree.com /y Fd16vnc\lib\nw32clnt.%nwext% bin\deltree.com /y Fd16vnc\lib\nwslp32.%nwext% bin\deltree.com /y Fd16vnc\lib\tinyhost.%nwext% rem Remove Umbfill bin\deltree.com /y Fd16vnc\bin\umbfill.com bin\deltree.com /y Fd16vnc\bin\dummy.sys rem Add Profiles and Global.set bin\xcopy.exe bin\Fd16rc\*.* Fd16vnc\etc\. /E /I /H /N /Y bin\deltree.com /y Fd16vnc\etc\_nwlan32.pci bin\deltree.com /y Fd16vnc\etc\profile\*.bat bin\deltree.com /y Fd16vnc\etc\profile\printer.pro bin\deltree.com /y Fd16vnc\etc\profile\dos-rdp.pro bin\inifile.com Fd16vnc\etc\global.set []G_PROFILE=DOS-VNC rem Write Diskid.txt if not exist Fd16vnc.cmt goto _nodiskid type bin\diskid.1 > Fd16vnc\diskid.txt type Fd16vnc.cmt >> Fd16vnc\diskid.txt type bin\diskid.2 >> Fd16vnc\diskid.txt :_nodiskid rem Sqeeze Nics :_sqeeze if not exist Cabs\Pcidevs.%nwext% call Nwdsk.bat Fd16vnc /!! %nwarc% if errorlevel 1 goto _end rem Build a diskette image from this dir :_bfi if exist Fd16vnc.img del Fd16vnc.img > nul if exist Fd16vnc.imz del Fd16vnc.imz > nul if exist Fd16vnc.exe del Fd16vnc.exe > nul bin\bfi.exe -t=%flopsz% -f=Fd16vnc.img -b=bin\freedos.144 -l=NwDsk340fds Fd16vnc :_end set flopsz= set nwarc= set nwext=