|
本帖最后由 2012doberman 于 2016-3-1 16:01 编辑
You can put the program itself: Sh.exe (Sh_x64.exe) + Sh.ini (Sh_x64.ini) in the folder Programs, and specify the search in Pecmd.exe-Sh.exe (Sh_x64.exe).
Then there is the need to integrate the Sh.exe "wim. boot"!
REGI #HKLM\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode=2
CALC #TEnvi=6
LOOP %TEnvi%>0,
{
FORX \W10PE\Programs\Sh.exe,XEnvi,1,TEAM EXEC --hide %XEnvi%|EXIT LOOP
TEAM CALC TEnvi=%TEnvi%-1|WAIT 1000
FIND #%TEnvi%=5,EXEC --hide bootpart.exe -mount -driveletter U:
FIND #%TEnvi%=2,EXEC --hide ShowDrive.exe ALL
}
REGI #HKLM\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode=0 |
|