title: VBSCRIPT: TRACERT and PING a WEBADDRESS and write to text file without command promot popup
body: <p>I need to write a diagnostic utility in VBS which i will package in my windows application installer.</p>
  
  <p>I want the utility to run silently when the user is installing the application.</p>
  
  <p>I tried: </p>
  
  <pre><code>Set pingCXS = objShell.Run("tracert -h 9 webaddress", 0, True)
  
    Set pingCXSOutput = pingCXS.StdOut
  
    strpingCXSOutput = pingCXSOutput.ReadAll
  </code></pre>
  
  <p>but it returns only the error code not the whole ping information.</p>
  
  <p>When i use run method it gives a command window pop up:</p>
  
  <p>Any other method to traceRT the webaddress without windows popup?</p>
  
  <p>Also using a batch file is not a good option for me, as i have to use some WMI queries in the utility, which will require admin rights in batch file...</p>
  
  <p>Please help out</p>