Monday, September 8, 2008

Lowering process priority on the command line

If there's a process that you want to start from the command line, or through a shortcut, but you want it to automatically have a higher or lower priority, use this syntax:
C:\WINDOWS\system32\cmd.exe /c start "DC++" /low "C:\path\to\program.exe"

This will ensure that the program always gives up CPU time to other processes.

No comments: