联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Originally posted by yytzy at 2007-4-4 19:28: 谢谢,做成BAT后双击没反应
Originally posted by lxmxn at 2007-4-4 07:40 PM: 4楼的是个vbs脚本,不是bat脚本,你保存为.vbs文件再试试...
Originally posted by bjsh at 2007-4-4 06:47 PM: set wshshell=wscript.createobject("wscript.shell") wshshell.run("f:\111\111.exe",0) WScript.Sleep 1000 wshshell.SendKeys "{F2}"
'保存为abc.vbs,双击运行 set wshshell=wscript.createobject("wscript.shell") wshshell.run "f:\111\111.exe",0 WScript.Sleep 1000 wshshell.SendKeys "{F2}"