I know I can use the .Run method to hide a window.
Is ther anyway, trick, hack, workaround that could maybe be used to hide the DOS window spawned from the .Exec method. It is very short-lived, but I would still prefer to either minimize or hide it.
Reason I am not using the .Run method, is I need to use the .WriteLine method to interface with Unix boxes.. Yes I know I can pass in commands from a txt file for pLink but I can't do that for reasons of Unix and Sudo SU Shell interaction.
Set objCmd = WshShell.Exec("%COMSPEC% /C " & pLinkCMD) objCMD.StdIn.WriteLine("cmd")
So even if I wanted to use something to change script engine to cscript, that would require access to the WScript object which as we all know .HTA does not allow. Right now I am just using .Appactivate to bring the Window I prefer to the front. (I am ok with this solution)
However, I would still like to see if there is a workaround to somehow manage to hide the dos window completly.