windows - Set process priority on already running process batch file -


how change priority of running posses can use start posses: start /high notepad.exe how change running notepad. if 1 can this.

use wmic (wmi command-line):

wmic process name="notepad.exe" call setpriority "high priority" 

the priority can "idle", "below normal", "normal", "above normal", "high priority", "realtime", or integer value.

integer values priorities can found on this msdn page.


Comments