请高手看看这段代码为什么运行不成功
@echo off
>%tmp%\s.vbs echo set Wshell=createobject("wscript.shell")
>>%tmp%\s.vbs echo Wshell.run "D:\new_wtong_v6\TdxW.exe"
>>%tmp%\s.vbs echo wscript.sleep 3000
>>%tmp%\s.vbs echo Wshell.SendKeys "{ENTER}"
>>%tmp%\s.vbs echo Wshell.SendKeys "{^SPACE}"
%tmp%\s.vbs
del %tmp%\s.vbs
----------------------------------------------
这是个炒股软件启动的批处理,第5行"{^SPACE}"总是报错,我是想变半角输入法状态(Ctrl+空格键),应该怎么改,或者有什么其他变通的办法也行,多谢了!
[最优解释]
>>%tmp%\s.vbs echo Wshell.SendKeys "^{SPACE}"
[其他解释]
Wshell.SendKeys "^(SPACE)"
[其他解释]
Wshell.SendKeys "^(SPACE)"
[其他解释]
非常感谢 chinayuppie