Link to home
Start Free TrialLog in
Avatar of markdolar
markdolarFlag for United States of America

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
Avatar of Dhiraj Mutha
Dhiraj Mutha
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of Dhiraj Mutha
Dhiraj Mutha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of markdolar

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.