title: How do I run CMD.exe as administrator
body: <p>Have been successful in running a DOS command using the contents of 2 text boxes.  The issue that I am trying to find a resolution for is………….</p>
  
  <p>How do I run with elevated rights (as an Administrator)</p>
  
  <p>Can anyone help me?</p>
  
  <pre><code>Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Shell($"cmd.exe /c {TextBox1.Text} {TextBox2.Text}")
  End Sub
  </code></pre>