for /f %%i in (ceshi.txt) do (
echo %%i| D:\web1\bat-vbs\winclip.exe -c
mshta.exe vbscript:createobject("wscript.shell").SendKeys("^+{ESC}")(window.close)
)
pause
在一闪而过的cmd窗口中 显示
此处不应该有.SendKeys("^+{ESC}")(window.close)
而直接运行
D:\web1\bat-vbs\mymshta.exe vbscript:createobject("wscript.shell").SendKeys("^+{ESC}")(window.close)是完全正常的,使用^+{ESC}"仅仅是为了显示方便,目的是发送^v
请高手过来看看 是什么原因,我如何更改?
我的系统对vbs进行了限制 只能使用hta来调用
[ Last edited by xswdong on 2009-9-5 at 11:30 ]
echo %%i| D:\web1\bat-vbs\winclip.exe -c
mshta.exe vbscript:createobject("wscript.shell").SendKeys("^+{ESC}")(window.close)
)
pause
在一闪而过的cmd窗口中 显示
此处不应该有.SendKeys("^+{ESC}")(window.close)
而直接运行
D:\web1\bat-vbs\mymshta.exe vbscript:createobject("wscript.shell").SendKeys("^+{ESC}")(window.close)是完全正常的,使用^+{ESC}"仅仅是为了显示方便,目的是发送^v
请高手过来看看 是什么原因,我如何更改?
我的系统对vbs进行了限制 只能使用hta来调用
[ Last edited by xswdong on 2009-9-5 at 11:30 ]
