用BAT方式启动明智的问题

由于明智限制了启动过程,所以,许多想要实现的功能都很困难
无奈之中,我想用BAT方式启动。
现在我已经做到这一步,但是始终无法到用户目录执行WIN。COM
下面是我的BAT文件内容
msdos.sys内容
[Paths]
WinDir=F:\WZ
WinBootDir=F:\
HostWinBootDrv=F

[Options]
BootMulti=1
BootGUI=1
Network=1
LoadTop=0
Logo=1

config.sys内容为
DEVICE=HIMEM.SYS
device=c:\ramdrive.sys 1440 /E
STACKS=16,512

autoexec.bat内容为

@echo off
@getuser.com
@if not exist D:\winboot\nul mkdir D:\winboot
@copy c:\ D:\winboot
@copy D:\winboot\command.com d:\
d:
cd \winboot

Protocol.ini内容为

[protman$]
DriverName=protman$
priority=NDISHLP$

[ndishlp$]
DriverName=ndishlp$
Bindings=RTSND$

[data]
version=v4.10.1998
netcards=RTSND$

[nwlink$]
DriverName=nwlink$
Frame_Type=4
cachesize=0
Bindings=RTSND$

[RTSND$]
DriverName=RTSND$

win.bat内容为

@echo off
set comspec=d:\command.com >nul
nwrpltrm >nul
fixmem >nul
snapshot /S /B:d >nul
setmdir /m /r:d:\winboot >nul
net start >nul
net logon %USER% /YES /savepw:no nul
net use F: \OK\WZ >nul
net use C: \OK%USER% >nul
PATH=F:\WZ;F:\WZ\command; >nul
set temp=s:\temp >nul
set tmp=s:\temp >nul
SET WINDIR=F:\WZ
setmdir /m /r:s:\ >nul
regedit F:\WZ\QS%user%.txt >nul
F:
choice /t:y,1 >nul
win.com

应该是影射F盘没有成功是不是呀?
另外,明智的WZ。STZ目录下的SYSTEM.dat注册表文件我已经COPY
在USER01的用户目录里了,明智的SYSTEM。DAT可以做为最小注册表吧
请教各位高手,给些提示。感激不尽!

:smiley:

用BAT方式启动明智的问题
由 云影 » 12-05-2002 06:51 PM

由于明智限制了启动过程,所以,许多想要实现的功能都很困难
无奈之中,我想用BAT方式启动。
现在我已经做到这一步,但是始终无法到用户目录执行WIN。COM
下面是我的BAT文件内容
msdos.sys内容
[Paths]
WinDir=F:\WZ
WinBootDir=F:\
HostWinBootDrv=F

[Options]
BootMulti=1
BootGUI=1
Network=1
LoadTop=0
Logo=1

config.sys内容为
DEVICE=HIMEM.SYS
device=c:\ramdrive.sys 1440 /E
STACKS=16,512

autoexec.bat内容为

@echo off
@getuser.com
@if not exist D:\winboot\nul mkdir D:\winboot
@copy c:\ D:\winboot
@copy D:\winboot\command.com d:\
d:
cd \winboot

Protocol.ini内容为

[protman$]
DriverName=protman$
priority=NDISHLP$

[ndishlp$]
DriverName=ndishlp$
Bindings=RTSND$

[data]
version=v4.10.1998
netcards=RTSND$

[nwlink$]
DriverName=nwlink$
Frame_Type=4
cachesize=0
Bindings=RTSND$

[RTSND$]
DriverName=RTSND$

win.bat内容为

@echo off
set comspec=d:\command.com >nul
nwrpltrm >nul
fixmem >nul
snapshot /S /B:d >nul
setmdir /m /r:d:\winboot >nul
net start >nul
net logon %USER% /YES /savepw:no nul
net use F: \OK\WZ >nul
net use C: \OK%USER% >nul
PATH=F:\WZ;F:\WZ\command; >nul
set temp=s:\temp >nul
set tmp=s:\temp >nul
SET WINDIR=F:\WZ
setmdir /m /r:s:\ >nul
regedit F:\WZ\QS%user%.txt >nul
F:
choice /t:y,1 >nul
win.com

应该是影射F盘没有成功是不是呀?
另外,明智的WZ。STZ目录下的SYSTEM.dat注册表文件我已经COPY
在USER01的用户目录里了,明智的SYSTEM。DAT可以做为最小注册表吧
请教各位高手,给些提示。感激不尽!