借鉴了别人的方法,在type.im_内核文件里\WXPE\SYSTEM32下添加wait.ini文件,内容如下:
@echo off
scd \type\03pe.wim
if not exist 03pe.wim load x:\wxpe\system32\native.cfg
if exist 03pe.wim mount 03pe.wim x:\wxpe
if exist x:\wxpe\system32\PECMD.EXE exit
然后把这个文件夹下的NATIVE.CFG改为如下内容:
@echo off
echo Search secondary kernel of WinPe from C: to Z: ...
scd \type\03pe.wim
if not exist 03pe.wim load x:\wxpe\system32\wait.ini
if exist 03pe.wim mount 03pe.wim x:\wxpe
if exist x:\wxpe\system32\PECMD.EXE exit
亲测,完美!
|