How can I automatically change the priority of Javaw.exe when loading Minecraft?

Posted by Arch Angel on Super User See other posts from Super User or by Arch Angel
Published on 2011-12-25T06:35:22Z Indexed on 2012/06/07 22:43 UTC
Read the original article Hit count: 196

I launch Minecraft.exe which invokes Javaw.exe. I wish for Javaw.exe to be running in High priority because Minecraft lags if not.

I tried invoking Minecraft.exe with a high priority by doing this:

Start "Minecraft" /high "C:\Users\Barrie\Documents\Program Files\Minecraft\Minecraft.exe"

This would work if it wasn't for Minecraft loading Javaw.exe. I would love a simple solution - perhaps a command I can put into the batch script - which will change the priority of Javaw.exe after it loads.

Edit: I'd like to thank everyone for their response to my issue. I fixed this by executing Minecraft.exe with a batch script then calling an AHK script to change the priority of Javaw.exe.

© Super User or respective owner

Related posts about windows-7

Related posts about command-line