| |
holtitan
Posts: 26
Score: 0
Joined: 3/28/2005
From:
Status: offline
|
The target is running W2K with WSH 5.6. I already set the remote bit to 1 and re-booted the box. I can run : Dim Controller, RemoteScript Set Controller = WScript.CreateObject("WSHController") Set RemoteScript = Controller.CreateScript("executeprogram.vbs", "computername") RemoteScript.Execute Do While RemoteScript.Status <> 2 WScript.Sleep 100 Loop ______________________________________________________________________ dim wshobject set wshobject=wscript.createobject("wscript.shell") MsgBox ("test") wshobject.run ("C:\winnt\system32\calc.exe") ______________________________________________________________________ without a problem. So I know that the remote execute is working. Of course the calculator doesn't pop up on the remote machine. However, a calc.exe process is started on the remote machine. Hmmmm..... I'm not doing something right...
|
|