2016 - 2024

感恩一路有你

简单好玩的编程代码 如何用VBS打开一个程序?

浏览量:1400 时间:2021-03-13 18:50:05 作者:admin

如何用VBS打开一个程序?

Option Explicit Dim objShell, strProgram, strKeysSet objShell = CreateObject("Wscript.Shell")strKeys = "Hello world" "要发送的字符,请自己更改strProgram = "c:windowssystem32notepad.exe" "需要打开的程序,请自己指定With objShell .Run strProgram WScript.Sleep 500 .SendKeys strKeys .SendKeys "~"End WithSet objShell = Nothing

简单好玩的编程代码 vbs启动exe win10如何运行vbs脚本

版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。