How should I set the priority of a different application running on the computer in c# win form. I'm a little new to this website and coding all together.
System.Diagnostics.Process.Start("cmd.exe","wmic process where name=\"HD-Frontend.exe\" CALL setpriority 32");
Is what I've tried so far. Just didn't work... :(
setpriority 32 appears to be a linux call
What you need to do is get the Process handle from Start like this
Then play with the priority once you have the handle
Alternatively, you could define your process before starting it and edit the priority before it has started
Look at the ProcessPriority property of Process