Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C# Launch command as administrator
- ProcessStartInfo p1 = new ProcessStartInfo();
- p1.UseShellExecute = true;
- p1.Verb = "runas";
- p1.FileName = "cscript";
- p1.Arguments = "I:\WPKG\wpkg.js /synchronize /quiet /nonotify";
- Process p = new Process();
- p.StartInfo = p1;
- p.Start();
Add Comment
Please, Sign In to add comment