Arcade File Downloads UsenetGeeks
Email
Confirm email
Articles Spyware Removal File Help Startup DB Tips Service DB News Hijack This! Analyzer

 

Setting Priorities in a .bat file
NEW HijackThis automated log analyzer! Get your logs analyzed INSTANTLY!

If you're like me, you will create quite a few .bat files that will set the priority of various applications when they launch. Soon I'll be showing you how to change a processes priority after it's been launched.

Here's an example using my favorite example, Mozilla Firefox. This is my web browser and when I have a ton of tabs open I want to have this set as AboveNormal priority so that it gets helps speed things up a bit when I have a bunch of Normal priority tasks running in the background eating up my CPU. This happens when I'm doing a lot of things like large data transfers, CD burning and video editing being processed in the background.

Here's what is in my .bat file for launching FireFox.exe:
cmd /c start /AboveNormal FireFox.exe

Other priority settings are:: Realtime, High, AboveNormal, Normal, BelowNormal, Low.

Put that bat file in the same directory as that executable. OR set the full file path.


Written By: Martin
Date: 5-31-04
Views: 6887
Printer Friendly

Article Index:
Talk About it! -->