找回密码
 加入
搜索
查看: 1634|回复: 0

[AU3基础] 关于bcdedit的AU3写法.

[复制链接]
发表于 2010-11-15 15:15:05 | 显示全部楼层 |阅读模式
批处理的
for /f "tokens=2" %%c in ('BCDEDIT /CREATE /D "BOOT FROM GRUB" /application bootsector ') do set id=%%c
这个用AU3怎么写法?
RunWait(@ComSpec& ' /c ' & 'for /f "tokens=2" %%c in ("BCDEDIT /CREATE /D "Windows XP Profrenonal" /application bootsector ") do set id=%%c')
这样写不对的.
RunWait(@ComSpec & " /c " & "bcdedit /timeout " & $input, "", @SW_HIDE)
这个时间的写法在WIN7下测试了,也改变不了那个启动时间.
$input为输入的时间变量.
有点疑惑.
请教高手们来支下招.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-20 09:26 , Processed in 0.073628 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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