JScript code
var WindowStyle_Hidden = 0
var objShell = WScript.CreateObject("WScript.Shell")
var result = objShell.Run("cmd.exe /c putty.exe 192.168.1.14 -l tv", WindowStyle_Hidden)
In this case, this script we'll execute putty.exe in a hidden cmd prompt.
Source:
http://www.geekstogo.com/forum/Hide-command-prompt-windows-t56092.html
No comments:
Post a Comment