void ExecutePowerShellScript(string file) { ProcessHelp.Execute("powershell.exe", "-NoLogo -NoExit -ExecutionPolicy Bypass -File \"" + file + "\""); }
void ShowEnvVarEditor_Click(object sender, RoutedEventArgs e) { ProcessHelp.Execute("rundll32.exe", "sysdm.cpl,EditEnvironmentVariables"); }