@echo off
set comspec=a:\command.com>nul
snapshot /S /B:d /m:124>nul
setmdir /m /r\winboot>nul
set windir=C:\WINDOWS setenv.com
net initialize>nul
net start netbind>nul
tcptsr.exe>nul
tinyrfc.exe>nul
nmtsr.exe>nul
net config <enter.txt>nul
net logon %USER% /savepw:no /y <enter.txt>nul
net use C: \LILY\WIN98 /y>nul
net use d: \LILY%USER% /y>nul
set system=WIN98
startwin.exe
path=c:>nul
path=c:>nul @if exist c:\autoexec.bat call c:\autoexec.bat
set comspec=c:\command.com
set tmp=C:\WINDOWS\TEMP
set temp=C:\WINDOWS\TEMP
set windir=C:\WINDOWS
set winbootdir=C:\WINDOWS
path=%PATH%;C:\WINDOWS;C:\WINDOWS\Command>nul
C:\WINDOWS\net time \LILY /set /yes>nul
d:\startwin.bat
如把启动盘A盘在启动WIN。COM之前虚拟掉之后,
启动时提示有:
registry files is was not found, registry services may
be inoperative for this session.
xms cache problem . registry services may be inoperative
this session.
这个提示一闪以后,就自动启动到WIN98到桌面,不过无法加载各种硬件驱动
如显卡声卡好象还有网卡,我觉得好象网卡的保护模式
没有转换过来,不过WIN98却能启动,而且基本可以使用,
就算我挂上上传时的硬盘,从无盘启动,它也这样,就是说不存在转换模式
之程断网时找不到文件的问题。
这是实模式下的图形WIN98???
此时我的WIN。BAT @echo on
a:
cd\winboot
set comspec=a:\command.com
snapshot /S /B:d /m:124
setmdir /m /r\winboot
net initialize
net start netbind
rem NETBIND
set windir=C:\WINDOWS
net config <enter.txt
net logon guest /savepw:no /y <enter.txt
c:
md windows
cd windows
md system
if not exist c:\windows\system\rtl8139.sys copy /y a:\netdrv*.* c:\windows\system.
if not exist c:\command.com copy /y a:\command.com c:\command.com
a:
net use c: \TM\EBXWIN98 /y
net use d: \TM\user01 /y
set system=EBXWIN98
set windir=C:\WINDOWS
rem startwin.exe
path=c:
path=c:
echo Step 9… @if exist c:\autoexec.bat call c:\autoexec.bat
set comspec=c:\command.com
set tmp=C:\WINDOWS\TEMP
set temp=C:\WINDOWS\TEMP
set windir=C:\WINDOWS
set winbootdir=C:\WINDOWS
path=%PATH%;C:\WINDOWS;C:\WINDOWS\Command
C:\WINDOWS\net time \TM /set /yes
rem d:\startwin.bat
pause
rem d:
rem regedit /l:d:\system.dat /l:d:\user.dat d:\tcpip.reg
rem c:
net use a: \tm\user01 /y
pause