|
Hello my chinese friends , i need little help in a syntax issue of PECMD , actually i am trying to have multiple choices before WIN7PE boot into Desktop .
_SUB BEGIN
TEAM TEXT Please Select \n\n F1--------->Win7 Installation\n F2--------->Win7 PE\n #0xFFFFFF L350 T250 R680 B480 $20|WAIT -8000
FIND KEY=#112,TEAM CALL INST
FIND KEY=#113,TEAM CALL NORM
WAIT 10000,CALL NORM
_END
_SUB INST
TEAM ENVI W=%WinDir%|ENVI WS=%W%\SYSTEM32
TEAM INIT IU|DISP W1024 H768 B32
WAIT 3000
TEAM EXEC !%WS%\winpeshl.exe
WAIT 5000
FORX !\SOURCES\NT.EXE,C7,1,FDIR CE7=%C7%
EXEC %C7%
_END
_NORM
LOAD %CurDir%\PE.INI
_END
now F1 , and F2 works great , but I want to make F2 (NORM) as default entry after 10 seconds wait.
but WAIT 10000,CALL NORM does not work , and it just stays there. is there any way to make F2 Default entry after N seconds. ?
Regards,
Maanu from Pakistan |
|