无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2087|回复: 3
打印 上一主题 下一主题

pecmd Syntax Help needed (Timeout)

[复制链接]
跳转到指定楼层
1#
发表于 2011-12-11 13:53:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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
2#
发表于 2011-12-11 14:19:36 | 只看该作者
原帖由 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 编辑 ]
回复

使用道具 举报

3#
 楼主| 发表于 2011-12-11 14:23:45 | 只看该作者

回复 #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
回复

使用道具 举报

4#
 楼主| 发表于 2011-12-11 14:28:16 | 只看该作者
it Worked great , thank you so much 527104427 brother,

Regards,
Maanu from Pakistan
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-16 02:28

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表