Login | |
|
 |
RE: Run command in vbscript - 7/25/2006 5:46:22 AM
|
|
 |
|
| |
ebgreen
Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
|
What about this: Dim objNet, objShell Set objNet = CreateObject("WScript.NetWork") Dim strInfo strInfo = objNet.ComputerName wscript.echo strinfo set objShell = wscript.createObject("wscript.shell") objShell.Run("VNCI " & strInfo & " /Remove ", 1, TRUE) Set objNet = Nothing
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|