执行服务器端 应用程序可以使用WSH 方法: Run http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp
Exec http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wslrfexecmethod.asp The following VBScript code opens a copy of the currently running script with Notepad.
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "%windir%\notepad " & WScript.ScriptFullName
The following VBScript code does the same thing, except it specifies the window type, waits for Notepad to be shut down by the user, and saves the error code returned from Notepad when it is shut down.
Set WshShell = WScript.CreateObject("WScript.Shell") Return = WshShell.Run("notepad " & WScript.ScriptFullName, 1, true)
The following VBScript code opens a command window, changes to the path to C:\ , and executes the DIR command.
Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run "cmd /K CD C:\ & Dir" Set oShell = Nothing 至于客户端, 似乎不大妥当