Re: Suppressing Command Window - objShellExec (ping...)
- From: "Doug Walch" <walch_do@xxxxxxxxxx>
- Date: Tue, 3 Oct 2006 14:04:26 -0700
Would you be so kind as to provide the syntax for using WshShull.Run to pipe
the results to a text file? TIA.
"Dave Wyatt" <dlwyattATe-wyattDOTorgNOSPAM> wrote in message
news:C41F2DC4-AA84-419F-8543-8D9D9C30B56C@xxxxxxxxxxxxxxxx
Not when you're using WshShell.Exec. If you use WshShell.Run instead, you
can have the new window run minimized, but that adds the extra steps of
piping your ping output to a temporary file, then reading that file (as
opposed to just doing objExec.StdOut.ReadAll).
Because of the bugs in WshShell.Exec, I prefer to use the Run / Temp File
method anyway.
.
- References:
- Suppressing Command Window - objShellExec (ping...)
- From: Doug Walch
- Suppressing Command Window - objShellExec (ping...)
- Prev by Date: Suppressing Command Window - objShellExec (ping...)
- Next by Date: RE: Plz Help: changing batch file to a VBscript.
- Previous by thread: Suppressing Command Window - objShellExec (ping...)
- Next by thread: Mapping a printer without a server
- Index(es):
Relevant Pages
|