📌  相关文章
📜  在后台窗口中运行命令提示符 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:57.334000             🧑  作者: Mango

代码示例1
' Create a Bat File as C:\Scheduled Jobs\mybat.bat
' Put Your Code In It
' Make a VBS file
' Put This in It

Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\Scheduled Jobs\mybat.bat" & Chr(34), 0
Set WinScriptHost = Nothing