First post, by Warlord
- Rank
- l33t
This is some old BAT file, that some German magazine might of Been c't magazine. Made up back in the day. I would not try this on a live system, It might hose your entire computer. I not responsible for damages.
@echo off
rem This file builds a 32Bit MS-DOS. This means DOS runs in protected mode, and long file names are available. Ideal for
rem Backup.
rem Booting this system up requires a few things:
rem .
rem 1) System Registry scanned. Location indicated by IO.SYS
rem 2) VFAT/LFN driver loaded in config.sys : DEVICE=IFSHLP.SYS
rem 3) XMS driver loaded. So far supported: FDXMS.SYS / HIMEM.SYS / XMSMMGR.EXE
rem .
rem Original version (everything below "goto 2nd" and ":2nd" ) © PC-WELT Germany.
goto 2nd
if exist c:\32BD\nul deltree /y c:\32BD
c:
md c:\32BD
cd c:\32BD
copy %winbootdir%\win.com
copy %winbootdir%\system.ini
md c:\32BD\system
cd c:\32BD\system
copy %winbootdir%\system\vmm32.vxd
copy %comspec% krnl386.exe
xcopy %winbootdir%\system\vmm32\*.* vmm32\
xcopy %winbootdir%\system\iosubsys\*.* iosubsys\
cd c:\32BD
goto end
:2nd
rem @echo off
if exist c:\32bd\nul deltree/y c:\32bd
c:
cd \
for %%x in ( c:\32bd c:\32bd\system ) do md %%x
cd 32bd
copy %winbootdir%\win.com
copy %winbootdir%\system.ini
cd system
copy %comspec% krnl386.exe
xcopy %winbootdir%\system\vmm32\*.* vmm32\
xcopy %winbootdir%\system\iosubsys\*.* iosubsys\
set filelist=vmm32 vnetsup ndis2sup vnetsetup ndis ndis2 vnetbios vredir dfs javasup aspienum wrdrv msmouse
for %%x in ( %filelist% ) do if exist %winbootdir%\system\%%x.vxd copy %winbootdir%\system\%%x.vxd
set filelist=
cd \32bd
goto end
:end