Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim p As New Process Dim psi As New ProcessStartInfo("cmd.exe", & txtCommand.text) p.StartInfo = psi p.Start() p.WaitForExit() End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)