Is it possible to hide the window when you do an exec command.
Example:
sping="ping -w 1000 " & strComputer
set wshshell=createobject("wscript.shell")
set oExec=wshshell.exec(sping)
do while oExec.status=0 : wscript.sleep 100 : loop
When the command runs to ping a dos window pops open. Can I hide that?
Thanks
Example:
sping="ping -w 1000 " & strComputer
set wshshell=createobject("wscript.shell")
set oExec=wshshell.exec(sping)
do while oExec.status=0 : wscript.sleep 100 : loop
When the command runs to ping a dos window pops open. Can I hide that?
Thanks