11Feb/093
VBScript: Running a Simple Script from the Command Line Without “defining a billion vars”
A frustrated administrator friend just messaged me, asking how he can, in VBScript, "run a simple batch file using a simple command line without defining a billion vars and initting a bunch of bullshit." Apparently, this isn't well documented on the web, so I'm taking a stab at it.
Set WshShell = CreateObject("WScript.Shell")
Call WshShell.Run("c:\windows\system32\netsh.exe netsh interface tcp set global autotuninglevel=disabled", 0, TRUE)
Set WshShell = NothingSimple enough?
More information can be found at DevGuru.



March 11th, 2009 - 22:13
This post isn’t very clear.
March 13th, 2009 - 20:09
Not sure where to clarify. WOMM!
January 7th, 2010 - 06:25
wow sexy nerd Crissy beutyfull eyes