Custom Search

May 24, 2008

Create shortcuts for running applications with certain CPU/Priority settings

If you've tried out the above two tips for assigning specific CPUs to processes and assigning priorities, you've no doubt noticed that all your setting disappear after reboot. How to make these permanent? Well, there's no real easy way, but there is a workaround you can do by creating a custom shortcut to the app you want to run with specific CPU or priority settings. Let's look at how to do this.

To create a shortcut to run an application with specific CPU affinity or priority settings:

First you will need to know the location of the application
you want to run. The best way to find this is with the searchbar in the start menu. Say you wanted to find the executable file for the Vista Sidebar. Open the start menu and type 'sidebar' in the search box.

The first entry you get will be the Windows Vista Sidebar executable file. Right click on it and choose 'properties'. Click the 'open file location' button at the bottom of the next Window.

Make a note of the file path in the navigation bar at the top of the screen. For Sidebar, it's 'c:\program files\windows sidebar\sidebar.exe'.

Now, drop back to the desktop and create a new shortcut by right-clicking on the desktop and selecting 'new/shortcut.'

When the shortcut wizard appears, enter the following into the text box:

C:\WINDOWS\system32\cmd.exe /c start "(the name of the application you want to start, quotes necessary).exe the path to the file you want to run, from the previous step, quotes necessary)"

The brackets should be removed from the above once you substitute your own items, but all other formatting should remain.

Save the shortcut, then use it to start your app with the desired custom settings.

No comments:

 

blogger templates | Make Money Online