All Forums >> [Scripting] >> WSH & Client Side VBScript >> I don't think this been done before, till Now? - Hide cmd prompt when using .Exec Method Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Has this been done before? - Hide cmd prompt when using .Exec Method
This works great for me, tested on XP, and Vista Ultimate 64.
The trick is here, example: ("ConsoleWindowClass", "C:\Windows\system32\cmd.exe - C:\Cygwin\Bin\bash --login -i") Make sure the Title (second arg) matches exactly.