Windows 8 and 8.1 Forums


CPU Priority Shortcut for a Program - Create in Windows

  1. #20


    Posts : 22,359
    64-bit Windows 10


    Thank you for the tip. I look forward to seeing which option works best for you.

      My System SpecsSystem Spec

  2. #21


    Posts : 6
    Windows 10


    Quote Originally Posted by Brink View Post
    You could probably create a .bat file to run the program, use a timeout command to wait a few seconds to let the secondary process run, then use the command below to change the secondary process priority to what you want. Substitute the parts in red below for what you want instead.

    wmic process where name="process name" CALL setpriority "value"

    Possible values: "idle", "low", "below normal", "normal", "above normal", "high priority", "realtime"
    i was thinking in finding where the engine is located in my pc and patch the .bat there .. but that sounds a good solution.. can you explain it better to me ?

    Edit: i found the engine location ., i will try this now. But i would still love the explanation about this method you said

    Edit 2 : i put the engine on the path of the .bat file but now ny game crashes .. probably because it is no starting up with the first process ,.. guess i will need your explanation after all haha
      My System SpecsSystem Spec

  3. #22


    Posts : 22,359
    64-bit Windows 10


    The link in my post for the timeout command can show you more about how to use that command.

    Which part did you need more help with?
      My System SpecsSystem Spec

  4. #23


    Posts : 6
    Windows 10


    Quote Originally Posted by Brink View Post
    The link in my post for the timeout command can show you more about how to use that command.

    Which part did you need more help with?
    I will have a look .. im not such a good computer geek haha ,. if i dont get something i will ask you here
      My System SpecsSystem Spec

  5. #24


    Posts : 6
    Windows 10

    Brink Help


    I was thinking of using this on .bat file

    cmd.exe /c start "xrEngine.exe" timeout/t 300 /nobreak /High "C:\Arquivos de Program (x86)\R.G. Mechanics\S.T.A.L.K.E.R - Call Of Pripyat\bin\xrEngine.exe"

    will this be correct or do i have to do some changes ?

    or maybe

    cmd.exe /c start "Stalker-COP" timeout/t 300 /nobreak /High "C:\Arquivos de Program (x86)\R.G. Mechanics\S.T.A.L.K.E.R - Call Of Pripyat\bin\xrEngine.exe"

    since the Stalker-COP is the first process to open

    Edit: i just didnt understand where this "
    wmic process where name="process name" CALL setpriority "value" "
    comes in the bat

    Edit2: i think the timeout comand is not recognized in windows 10 .. can you please help me Brink ?
    Last edited by Axlano; 17 Feb 2016 at 15:03.
      My System SpecsSystem Spec

  6. #25


    Posts : 22,359
    64-bit Windows 10


    The timeout command would need to be added like below instead to have a timeout before running the app.

    The & symbol between separate commands allows you to run multiple commands on the same line.

    timeout /t 300 /nobreak & wmic process where name="process name" CALL setpriority "value"
      My System SpecsSystem Spec

  7. #26


    Posts : 2
    server 2012


    thanks a lot admin for this great tut

    but is this possible to make this working for "WinRAR" ?

    i mean the process of winrar is opened and closed upon the work of "extraction" and creating archives

    this could be possible ?

    i mean i download some archives and want to unrar them with high priority , but i need this to be done auto

    as i do this many times: download RAR files, unrar, create archives

    thanks in advance
      My System SpecsSystem Spec

  8. #27


    Posts : 22,359
    64-bit Windows 10


    Hello mazzo, and welcome to Eight Forums.

    I'm not sure that this will work for what you're wanting since a process is being used instead.
      My System SpecsSystem Spec

  9. #28


    Posts : 2
    server 2012


    ehmm , ok thanks a lot for your fast reply

    i have searched for a tool which saves priority , so each time the process starts it keeps the priority "high"

    but sadly i cannot find one works with windows server 2012 x64

    regards
      My System SpecsSystem Spec

Page 3 of 3 FirstFirst 123
CPU Priority Shortcut for a Program - Create in Windows
Related Threads
How to Create a Shortcut to Run an Application with a Set CPU Affinity in Windows Processor affinity or CPU Pinning enables the binding and un-binding of a process or thread to a physical CPU or a range of CPUs, so that the process or thread in question will run only on the CPU or range of...
How to Create a Forced Full "Shut Down" Shortcut in Windows 8 and 8.1 This will show you how to create or download a forced full Shut down computer shortcut with or without a time delay and custom message before the Windows 8 computer is shut down and powered off. This shortcut does not...
How to Create a OneDrive App Shortcut in Windows 8 and 8.1 Store any file on OneDrive (formerly SkyDrive) and it's automatically available or share from any device. With OneDrive for Windows 8, your files in the cloud are just a touch away. You can easily view, upload, and share your files on...
How to Create a Calculator App Shortcut in Windows 8.1 The Calculator app included in Windows 8.1 is a simple yet powerful app that includes a standard calculator, a scientific calculator, and a unit converter. Whether you’re using it to add up a bill, convert a recipe, or complete algebra,...
How to Create a "Screenshot" Capture Shortcut in Windows 8 and 8.1 This tutorial will show you how to download and use a "Screenshot" shortcut that will capture a screenshot of the desktop on all displays and save it as a .png file in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1. ...
How to Create a "Run" Command Dialog Box Shortcut in Windows 8 This tutorial will show how to create or download a Run shortcut that opens directly to the Run command dialog box on your desktop in Windows 8. The default keyboard shortcut to open the "Run" command dialog box is: Windows + R ...
How to Create a "Restart" Shortcut in Windows 8 and 8.1 This will show you how to create or download a Restart computer shortcut with or without a time delay and custom message before the Windows 8 computer is restarted. A time-out period can also be for how many seconds you have to use an...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook