views:

2228

answers:

2

Is there any way to launch a program with a shortcut, that sets the process-priority of that program?

iTunes is dragging my system to it's knees, but when I set the process-priority to "low", somehow, like magic, Windows gets back to it's normal responsive self :)

+3  A: 

You learn something new every day.

My answer was wrong, but since it was marked accepted I'm editing to be right.

Change your short cut to point to:

start /BELOWNORMAL iTunes.exe

Instead of just iTunes.exe

Joel Coehoorn
Just realized that this was not a programming question. Thanks for your comment.
roosteronacid
But this answer is incorrect! Change the icon shortcut to call "start /BELOWNORMAL itunes.exe" instead of itunes.exe and you are all set!
Mike Elkins
Very helpful. glad you asked/answered. Next time i have that program i wrote that runs doggedly i will start with this ;)
mattlant
Thank you Mike! And nice of you to re-visit this question and update it, Joel.
roosteronacid
A: 

I've had iTunes consuming a majority of the CPU. There must be a thread in there that has gone haywire. This is particular a problem when burning. I burn a lot of coasters because of this run-away thread that competes for CPU with the burning thread and I end up with a lot of coasters instead of playable CDs.

Dropping the priority on iTunes doesn't really fix the problem with iTunes. It just sets the priority lower so that they runaway thread doesn't get as much CPU and other processes that need the CPU will get it instead.

I wish Apple would fix this bug, because it still plagues even the latest version of iTunes that I'm running in Aug '09.

MarkS