Making a program always start with certain process settings in XP

hjo3

Diamond Member
May 22, 2003
7,354
4
0
I have a program that needs special settings when I run it on my main machine -- specifically, I have to set the priority to high and "set affinity" so that it runs on only one CPU. I've been doing this manually from the task manager's process tab, but I was wondering if there's an easier way (like maybe some command line stuff I can put in the shortcut to make it automatically have those settings).

I'm using Windows XP Pro SP2 on a Athlon 64 X2 3800+. Any help would be appreciated.
 

jackschmittusa

Diamond Member
Apr 16, 2003
5,972
1
0
You can add switches and parameters to a shortcut (right-click, properties). But I do not know what they may be for your needs.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
240
106
I think what you are asking for is a shortcut script. Google for that,and see.
 

hjo3

Diamond Member
May 22, 2003
7,354
4
0
Well, I found an EXE that I can run the program under to set affinity to a single CPU, but the solution is inelegant. Seriously, no one knows how to do this via commandline/shortcut scripts?
 

hjo3

Diamond Member
May 22, 2003
7,354
4
0
Yes, I know how to do all that. What I want to know is specifically how to set affinity for a program in a shortcut. I.e. how to make it run on only one CPU in a dual-processor system. Please, stop regurgitating this elementary stuff.

EDIT: Nevermind -- I did it myself. I just made a batch file to run the program under the affinity executable, then made a shortcut to that. It's not what I wanted, but it'll work for now... no one here seems to know enough about affinity. Thanks anyway.