title: Executing dos command from VB.NET
body: <p>I need to execute an external process from VB.NET application, usually I run this process from  command prompt:</p>
  
  <pre><code>c:\&gt; net.exe use \\192.168.0.5\ipc$
  </code></pre>
  
  <p>When this command is executed, it displays a string like "The connection is successfull" OR "Access Denied" or any other relevant message.</p>
  
  <p><strong>I need to execute this command from vb.net and as well can I capture the output string?</strong></p>