This is how you would change the base priority from the command prompt or embedded in a script.
128 = HIGH
256 = REALTIME
32768 = ABOVE NORMAL
16384 = BELOW NORMAL
32 = NORMAL
64 = IDLE
Use this:
wmic process where name=”TheExeGoesHere.exe” call setpriority 128