Dim myProcess As New Process
Dim myProcessStartInfo As New ProcessStartInfo("cmd.exe")
myProcessStartInfo.Arguments = "/C dir c:"
myProcessStartInfo.UseShellExecute = False
myProcessStartInfo.RedirectStandardOutput = True
myProcess.StartInfo = myProcessStartInfo
myProcess.Start()
Console.WriteLine(myProcess.StandardOutput.ReadToEnd)
myProcess.Close()