Set process priority on already running process batch file
13,744
Use wmic (WMI command-line):
wmic process where name="notepad.exe" CALL setpriority "high priority"
The priority can be "idle", "below normal", "normal", "above normal", "high priority", "realtime", or an integer value.
Integer values for priorities can be found on this MSDN page.
Comments
-
09stephenb almost 2 years
How do i change the priority of an already running posses i now that i can use this to start the posses:
START /HIGH notepad.exe
but how do i change it for an already running notepad. Thanks if any one can help with this.