Set thread priority in a shortcut?

Jeff7181

Lifer
Aug 21, 2002
18,368
11
81
Is there a command or something I can ad to a shortcut so that when I run that program it sets it's priority at higher than normal or highest?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
I'm presuming 2000k or above. You an change your shortcut to run 'start /abovenormal' or 'start /high' and then the original application. For example 'start /high notepad.exe'.

Bill
 

Jeff7181

Lifer
Aug 21, 2002
18,368
11
81
Originally posted by: bsobel
I'm presuming 2000k or above. You an change your shortcut to run 'start /abovenormal' or 'start /high' and then the original application. For example 'start /high notepad.exe'.

Bill

So you have to change the shortcut and the app, or just the shortcut if you only want it to do that when you use that shortcut?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Jeff7181
Originally posted by: bsobel
I'm presuming 2000k or above. You an change your shortcut to run 'start /abovenormal' or 'start /high' and then the original application. For example 'start /high notepad.exe'.

Bill

So you have to change the shortcut and the app, or just the shortcut if you only want it to do that when you use that shortcut?

Just the shortcut. So (in the above example) you could have two shortcuts, one that starts notepad normally and the other that actually starts 'start.exe' with the /abovenormal switch and the command line to go start what you really want (notepad.exe)

Bill
 

Jeff7181

Lifer
Aug 21, 2002
18,368
11
81
I must have the syntax wrong or something... here's what I have that's not working...

"F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85 /high
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Jeff7181
I must have the syntax wrong or something... here's what I have that's not working...

"F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85 /high

Start.exe is a program, so your line should look something like:

start / high "F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85

Bill
 

spyordie007

Diamond Member
May 28, 2001
6,229
0
0
Why do you want to run halo with high priority? Correct me if I'm wrong but I think that will cause more problems than it will "fix."
 

Jeff7181

Lifer
Aug 21, 2002
18,368
11
81
Originally posted by: bsobel
Originally posted by: Jeff7181
I must have the syntax wrong or something... here's what I have that's not working...

"F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85 /high

Start.exe is a program, so your line should look something like:

start / high "F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85

Bill

Doesn't work, says "The name 'start' typed in the target box is not valid."
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Jeff7181
Originally posted by: bsobel
Originally posted by: Jeff7181
I must have the syntax wrong or something... here's what I have that's not working...

"F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85 /high

Start.exe is a program, so your line should look something like:

start / high "F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85

Bill

Doesn't work, says "The name 'start' typed in the target box is not valid."

Sorry, brain farter before I left the house. Make that:

cmd.exe /c start /high "F:\Program Files\Microsoft Games\Halo\halo.exe" -vidmode 1024, 768, 85

Bill