This works:
Process.Start("control", "/name Microsoft.DevicesAndPrinters");
But this doesn't: (It just opens a command prompt.)
ProcessStartInfo info = new ProcessStartInfo("cmd.exe");
info.Arguments = "control /name Microsoft.DevicesAndPrinters";
Process.Start(info);
Why?
(Yes, I know they're not identical. But the second one "should" work.)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…