• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 851
  • Last Modified:

It is possible to automatically set the priority of a program at the time you initially start it

I have a process I have to run frequently (it's a build process) and it uses a lot of CPU. Is it possible (say by way of modifying icon properties) to always have the process start at a specific priority level (RealTime - Low)? I am not after a programmatic solution, this needs to be something that can either be done via the CLI or via the icon properties.

Thanks.
0
evilrix
Asked:
evilrix
1 Solution
 
Frank McCourryV.P. Holland Computers, Inc.Commented:
This might help: http://threadmaster.tripod.com/, it requires some setup, but should be able to accomplish what you are asking for.  And it's free!  
0
 
Shanmuga SundaramDirector of Software EngineeringCommented:
0
 
Shanmuga SundaramDirector of Software EngineeringCommented:
if  you have two processes (of same program) running in windows XP and if the name of the processes are same. then you can identify one process and set its priority using the tool.

http://www.processlibrary.com/processscan/
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
evilrixSenior Software Engineer (Avast)Author Commented:
@shasunder.
I know how to do this manually (did you see in the Q I specifically stated automatic?), I am looking for a way to force it to always start at a specific priority. The problem is the priority will be reset every time the process starts.

I have a specific process that I restart frequently. I need to ensure the priority of this process is always set low so that it can complete in the background whilst I can continue working.

-Rx.
0
 
Shift-3Commented:
You don't need any third-party tools.  Just create a .cmd file to launch the program using the START command.
http://www.ss64.com/nt/start.html
http://technet.microsoft.com/en-us/library/bb491005.aspx

For instance, you could set it up to run this command:
start /D"C:\Program Files\MyProgram" /LOW myprogram.exe
0
 
evilrixSenior Software Engineer (Avast)Author Commented:
@Shift-3. Yes, that's pretty much what I was after. I didn't think to check the options on 'start' :)

I'll try it out and if it works ok I'll close this Q.

Thanks.
0
 
evilrixSenior Software Engineer (Avast)Author Commented:
Ta v much.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now