Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am starting a long, memory and CPU-intensive run. I know how to change the process priority manually from the task manager.

Is there a way that I can run it at low priority from a .bat file, since that is how I start it?

share|improve this question
up vote 7 down vote accepted

Start it with the Start /low command and parameter, e g Start /low c:\foo.exe.

If you want to start a program with spaces in path and with arguments, you need to specify a title as well:

start /low "Title of cmd window" "c:\program files\blah\blah.exe" --argument
share|improve this answer
Note that this starts it in a new window if the command itself is a .bat. The window doesn't close when the command done. That works fine for me, but could be annoying. – Brian Carlton May 19 '11 at 17:55
@Brian: You can start cmd /c foo.bat in that case. – grawity May 19 '11 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .