Page 1 of 1
How to set priority in xp?
Posted: Tue Nov 06, 2007 7:17 pm
by mashium123
Hi.
Anyone knows how to set the priority of an application in windows xp via commandline?
What I want achieve is a shortcut to an application (mxed and mxst) that ought to starts in low priority for example.
Just as we can do it with mxcl ("...\mxcl.exe" -p:low). But here I guess, this "-p" switch is a feature bundled to mxcl code and not to xp, isn't it?
So how do I do it in xp generally? There should be a way?!
Posted: Tue Nov 06, 2007 8:07 pm
by Bubbaloo
I think if you create a new shortcut to the exe, then you can define it to open as low priority.
Posted: Tue Nov 06, 2007 8:15 pm
by mashium123
Thx Bubbaloo.
But... no, couldn't find it... any other ideas?
System is xp32bit prof
Posted: Tue Nov 06, 2007 8:40 pm
by Bubbaloo
When you right click on the shortcut, and go to properties, does it look something like this?

This is Vista but it should be similar.
Posted: Tue Nov 06, 2007 8:56 pm
by mashium123
Well, yes it looks the same.. at least in that "shortcut" section.
Now, where do you say, do I define it as low priority?
In your screenshot it's the mxcl.exe, that is being defined as low prio. That does work, I know that... but no other application works by adding "-p:low"... as mentioned, I guess, this "-p" switch is a mxcl-thing but doesn't work for any other...
I thought, there might be a switch provided by the operating system that lets you do that...
Posted: Tue Nov 06, 2007 9:02 pm
by Bubbaloo
Oh, ok. Sorry I misunderstood. No, I don't know of a way to do that.
Posted: Tue Nov 06, 2007 9:08 pm
by jomaga
Simply run the program from a bat file with:
cmd /c start /high program.exe
Change program.exe with the name of the executable
You can use /high /AboveNormal /Normal /BelowNormal or /Low to set the desired priority
Posted: Tue Nov 06, 2007 11:22 pm
by mashium123
jomaga wrote:Simply run the program from a bat file with:
cmd /c start /high program.exe
Change program.exe with the name of the executable
You can use /high /AboveNormal /Normal /BelowNormal or /Low to set the desired priority
Aaahhhh.. finally.... thanks a lot jomega, now I can run everything on low level...
Thank you too Bubbaloo for trying
