Process Priority utility
As discussed on StackOverflow and ServerFault, here is a utility that can query and set the CPU, memory, and IO priority of a Win32 process (runs on XP and higher).
To see the command line usage information, run the program without any arguments.
Enjoy!