Run("notepad " & WScript.ScriptFullName, 1, true)示例2下面的 VBScript 代碼打開一個命令窗口,將路徑改為 C:\,并執(zhí)行 DIR 命令。Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run "cmd /K CD C:\ & Dir" Set oShell = Nothing...
www.dbjr.com.cn/shouce/script56/Script5... 2025-4-1