1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Auto-set priority for programs?

Discussion in 'Windows XP' started by Homer J, 2005/01/31.

Thread Status:
Not open for further replies.
  1. 2005/01/31
    Homer J

    Homer J Inactive Thread Starter

    Joined:
    2003/04/18
    Messages:
    30
    Likes Received:
    0
    Is it possible to have certain programs load with their CPU priority auto-set?
    With 2 programs I use every day the priority for one needs to be set higher, the other lower. I need to do this manually every time which is a pain. Is there some Windows paramater to add to the .exe or something?
     
  2. 2005/01/31
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    This tweak will launch most executables with the priority setting you want it to have.

    Let's say you have a game installed called HIGH NEEDS and the executable is called HN.exe

    Here's what to do:

    -Create a new textfile in the game-app wathever-directory (let's say C:\HN), but instead of giving it the .txt extension you name it HN.bat
    -Right-click this file and choose 'Edit', you'll see it'll open notepad. Put this line in:
    cmd /c start /High HN.exe
    -Save (make sure you save it as .bat, not as .txt) and close.

    Now create a shortcut to this file and place it on your desktop. Every time you doubleclick this shortcut HIGH NEEDS will open with priority set to 'high'. (ofcourse you can also create a batchfile on your desktop, containing the full path of the app you want to start but the nice thing of creating a shortcut is you can give it an icon).

    These are all the settings: Realtime, High, AboveNormal, Normal, BelowNormal, Low.

    *Realtime is not recommended unless you have a dual-CPU system!
    http://www.tweakxp.com/tweak1892.aspx
     

  3. to hide this advert.

  4. 2005/01/31
    Homer J

    Homer J Inactive Thread Starter

    Joined:
    2003/04/18
    Messages:
    30
    Likes Received:
    0
    Steve,

    Thanks very much for your reply - very interesting.

    One of the programs (powerpro) I want to auto-run at start-up. The .bat file works fine from the desktop short-cut as you suggested, but I've been trying unsuccessfully to get it to run when the computer starts. Is there a way to do this? (The normal program usually runs at start-up.)

    For some reason somethings going on with the other program (Filemaker). The .bat file makes the little run window that appears continually create itself endlessly until I hit control-break to stop it. The bat file is:
    cmd /c start /BelowNormal Filemaker Pro.exe

    The only difference I can see between that and the other one is the filemaker exe contains a space. Don't know if that's relevant or not. Any suggestions?
     
  5. 2005/02/01
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    Might try putting the bat file in the startup folder..

    Apparently, not all applications will let you set the priority. Outlook wouldn't even open when I tried it..

    Another tweak to help programs load faster is to add /prefetch:1 in the shorcut:

    "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:1
     
  6. 2005/02/02
    Homer J

    Homer J Inactive Thread Starter

    Joined:
    2003/04/18
    Messages:
    30
    Likes Received:
    0
    Thanks Steve, much appreciated.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.