想用批处理写一个程序 自动打开123.exe并在打开123.exe后在光标所指处输入123
1个回答
展开全部
@echo off
echo Dim wsh >a.vbs
echo set wsh = createobject("Wscript.shell") >>a.vbs
echo wsh.run 123.exe >>a.vbs
echo wscript.sleep 1000 >>a.vbs
echo wsh.sendKeys "1" >>a.vbs
echo wscript.sleep 300 >>a.vbs
echo wsh.sendKeys "2" >>a.vbs
echo wscript.sleep 300 >>a.vbs
echo wsh.sendKeys "3" >>a.vbs
echo wscript.sleep 300 >>a.vbs
a.vbs
del a.vbs
exit
echo Dim wsh >a.vbs
echo set wsh = createobject("Wscript.shell") >>a.vbs
echo wsh.run 123.exe >>a.vbs
echo wscript.sleep 1000 >>a.vbs
echo wsh.sendKeys "1" >>a.vbs
echo wscript.sleep 300 >>a.vbs
echo wsh.sendKeys "2" >>a.vbs
echo wscript.sleep 300 >>a.vbs
echo wsh.sendKeys "3" >>a.vbs
echo wscript.sleep 300 >>a.vbs
a.vbs
del a.vbs
exit
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
微测检测5.10
2023-05-10 广告
2023-05-10 广告
您好!建议咨 深圳市微测检测有限公司,已建立起十余个专业实验室,企业通过微测检测就可以获得一站式的测试与认 证解决方案;(EMC、RF、MFi、BQB、QI、USB、安全、锂电池、快充、汽车电子EMC、汽车手机互 联、语音通话质量),认证遇...
点击进入详情页
本回答由微测检测5.10提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询