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………….
How do I run with elevated rights (as an Administrator)
Can anyone help me?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Shell($"cmd.exe /c {TextBox1.Text} {TextBox2.Text}")
End Sub