markdolar
asked on
Changing Process priority within a bat file
I am running a command process on Windows7 that executes a BAT file. At different points in the execution, I would like to change the process priority. A simple way to accomplish this task within the command file is what I'm looking for. I can only modify the priority within the bat file itself; I cannot control how it launches and I can't modify it from an external process while it is running. Thanks
Hope this helps: http://www.howtofixcomputers.com/forums/windows-xp/need-batch-file-set-priority-190436.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is your solution
http://www.askvg.com/how-to-permanently-set-process-priority-in-windows-task-manager/
Let me know if need anything else !
http://www.askvg.com/how-to-permanently-set-process-priority-in-windows-task-manager/
Let me know if need anything else !
ASKER
This solution will not change the priority of the existing process, however will spawn a new process with the correct priority. Since it will allow me to execute shell commands (dir, copy, etc), it will work for my purposes.