CPU Priority Shortcut for a Program - Create in Windows
Join Date: Jul 2009
How to Create a Shortcut to Run an Application with a Specific CPU Priority in Windows
Windows shares the processor time between all running processes based upon their priority level. If a process has a higher priority, it gets more processor time compared to a process having a lower priority.
This tutorial will show you how to create a shortcut that will always run an application with a specific CPU priority by default in XP, Vista, Windows 7, and Windows 8.
You should not set processes to have a realtime priority since it could easily slow your system to a crawl by causing lower priority processes to not have the resources they need.
1. Right click or press and hold on an empty area of your desktop, and click/tap on New and Shortcut.
2. Type the command below into the location area, and click/tap on the Next button. (see screenshot below)
cmd.exe /c start "Program Name" /priority "Full path of application file"
For example: I would type this command below exactly if I wanted to create a shortcut to run Process Monitor using a high priority, and it's .exe file is located at "E:\Programs\Process Monitor 3.05\Procmon.exe".
cmd.exe /c start "Process Monitor" /High "E:\Programs\Process Monitor 3.05\Procmon.exe"
Substitute Program Name
in the command with the actual program's name within quotes.
Substitute Full path of application file
in the command with the full path of the file within quotes.
in the command with the CPU priority level below you want the application file to run as.
3. Type any name you would like to give the shortcut, and click/tap on the Finish button. (see screenshot below)
4. Right click or press and hold on the new shortcut, and click/tap on Properties.
5. Click/tap on the Shortcut tab, then click/tap on the Change Icon button. (see screenshot below)
6. In the line under "Look for icons in this file", copy and paste the same full path of the application file used in the shortcut below, and press Enter. (see screenshot below)
E:\Programs\Process Monitor 3.05\Procmon.exe
7. Select (highlight) the icon you want for the shortcut, and click/tap on OK. (see screenshot above)
NOTE: You can use any icon that you would like instead though.
8. Click/tap on OK. (see screenshot below step 5)
9. In Vista and Windows 7, you can now Pin to Taskbar (Windows 7 only) or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.
10. In Windows 8, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.