无忧启动论坛

标题: pecmd Syntax Help needed (Timeout) [打印本页]

作者: maanu    时间: 2011-12-11 13:53
标题: pecmd Syntax Help needed (Timeout)
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
作者: 527104427    时间: 2011-12-11 14:19
原帖由 maanu 于 2011-12-11 13:53 发表
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 Sel ...



TEAM WAIT 10000|CALL NORM

_SUB NORM

LOAD %CurDir%\PE.INI

_END

[ 本帖最后由 527104427 于 2011-12-11 14:21 编辑 ]
作者: maanu    时间: 2011-12-11 14:23
标题: 回复 #2 527104427 的帖子
ooh i am sorry , it was typing mistake , i have in my original INI file , _SUB

i did not try with TEAM , i will reply soon after testing.

thanks
作者: maanu    时间: 2011-12-11 14:28
it Worked great , thank you so much 527104427 brother,

Regards,
Maanu from Pakistan




欢迎光临 无忧启动论坛 (http://wuyou.net./) Powered by Discuz! X3.3