📜  vbs 运行 - VBA 代码示例

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

代码示例1
Set oShell = CreateObject("WScript.Shell")

' Run the command dir in a hidden window without waiting for it to finish
oShell.Run "dir", 0, false

' Run the command dir in a visible window and wait for it to finish
oShell.Run "dir", 1, true