Setting the Process Priority of a Program?

B

Bill

With Windows 2000, I've got a .EXE file that I would like to run at a lower process
priority (6) every time it starts (presently I'm using SysInternal's Process Explorer to
manually set the priority each time I start it).

Is there a way to set a program's process priority in Windows 2000 so that it is set to
that priority each time it starts?

Thanks!

Bill.
 
D

Dave Patrick

You can use start command in a shell script something like;
start "" /low "some program"
start /?
for the syntax

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| With Windows 2000, I've got a .EXE file that I would like to run at a
lower process
| priority (6) every time it starts (presently I'm using SysInternal's
Process Explorer to
| manually set the priority each time I start it).
|
| Is there a way to set a program's process priority in Windows 2000 so that
it is set to
| that priority each time it starts?
|
| Thanks!
|
| Bill.
|
|
 
B

Bill

Hey Dave, I can of course run this from a shell script fine, but when I tried to modify
the program shortcut to do this it kicked out an error.

What's the best way I can single-click this? Or do I need to create a .BAT file to do
it?

Thanks as always,

Bill.
 
B

Bill

Ah, I got it - I created a .BAT file with the command

start /belownormal programname.exe

The .BAT file is in the same directory as programname.exe. I then created a shortcut to
the file. Works fine so far.

Bill.

Hey Dave, I can of course run this from a shell script fine, but when I tried to modify
the program shortcut to do this it kicked out an error.

What's the best way I can single-click this? Or do I need to create a .BAT file to do
it?

Thanks as always,

Bill.



You can use start command in a shell script something like;
start "" /low "some program"
start /?
for the syntax

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| With Windows 2000, I've got a .EXE file that I would like to run at a
lower process
| priority (6) every time it starts (presently I'm using SysInternal's
Process Explorer to
| manually set the priority each time I start it).
|
| Is there a way to set a program's process priority in Windows 2000 so that
it is set to
| that priority each time it starts?
|
| Thanks!
|
| Bill.
|
|
 
D

Dave Patrick

Yepper.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Ah, I got it - I created a .BAT file with the command
|
| start /belownormal programname.exe
|
| The .BAT file is in the same directory as programname.exe. I then created
a shortcut to
| the file. Works fine so far.
|
| Bill.
|
| "Bill" wrote...
| > Hey Dave, I can of course run this from a shell script fine, but when I
tried to
| modify
| > the program shortcut to do this it kicked out an error.
| >
| > What's the best way I can single-click this? Or do I need to create a
..BAT file to do
| > it?
| >
| > Thanks as always,
| >
| > Bill.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top