System.Diagnostics.Process.Start(Environment.GetFolderPath(SpecialFolder.System) & "\MRT.exe")
Dim objProcess As System.Diagnostics.Process objProcess = New System.Diagnostics.Process() 'objProcess.StartInfo.Arguments = objProcess.StartInfo.FileName = "MRT" 'objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal objProcess.Start() 'Wait until it's finished 'objProcess.WaitForExit() 'Exitcode as String 'Console.WriteLine(objProcess.ExitCode.ToString()) objProcess.Close()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)