With wscript.run there is an argument that lets you run the
command invisibly but there does not appear to be the same
argument available with wscript.exec. I need to run a
command and capture its stderr (although I don't need the
stdin and stdout) and wscript.exec lets me do that except
for the annoying flashing of the command window which
is doubly annoying in my application since I have to
perform wscript.exec on several commands in succession
and the screen just goes crazy.
I would prefer to keep my application self contained (its
currently one .hta file) and would prefer not to have to
use temporary files if I don't have to.
Is there a way to handle this?