Re: Can you set process priority for an exe?

Tech-Archive recommends: Speed Up your PC by fixing your registry



In news:1185827222.431828.219620@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
DeanB <deanbrown3d@xxxxxxxxx> wrote:
On Jul 30, 3:58 pm, "3c273" <nos...@xxxxxxxxxx> wrote:
Create a batch file with the following line:

start /LOW x:\pathtoyourprogram.exe

and use that to start your program. Open a command prompt
and type
"start /?" for more info.
Louis

"dean" <deanbrow...@xxxxxxxxx> wrote in message

news:1185822739.089124.223080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hello all,

I regularly run Borland's compiler (CBuilder 6.0) at work
as a full
time developer, but when it compiles it hogs nearly all of
the
machine's CPU time, and all other apps are very
unresponsive. If I
set the priority level of the process to LOW, then
everything works
fine and the program still runs just the same.

How can I set the priority level on an application such as
this? I
right-click on the shortcut and can't see anything related
to
priority levels.

Thanks!

Dean- Hide quoted text -

- Show quoted text -

Thanks! I have the new batch file (BCB_LOW.bat) on my
desk-top with
the following contents:

start/LOW "C:\Program Files\Borland\CBuilder6\Bin\bcb.exe"

When I double-click the icon for this .bat file, all I get is
a
command prompt which takes me to the:

documents and settings\Dean\Desktop

directory.

Can you tell me what I'm missing here? I copied the path over
from the
properties dialog for the app itself.

-Dean

You might want to try the following;

Right click BCB_LOW.bat and select Edit from the menu.
Delete the contents.
Copy and paste the following command into Notepad.

Start /LOW C:\"Program Files\Borland\CBuilder6\Bin\bcb.exe"

Save the batch file to your desktop and see if it works now.

Good luck

Nepatsfan


.



Relevant Pages

  • Re: Can you set process priority for an exe?
    ... Open a command prompt ... and all other apps are very ... set the priority level of the process to LOW, ... Save the batch file to your desktop and see if it works now. ...
    (microsoft.public.windowsxp.general)
  • Re: Can you set process priority for an exe?
    ... do you know why the path needs to be quoted in ... Open a command prompt ... set the priority level of the process to LOW, ... Save the batch file to your desktop and see if it works now. ...
    (microsoft.public.windowsxp.general)
  • Re: Application starts too soon
    ... The application runs froma a batch file. ... The batch file has my exe followed by a Shutdown command ... think the app tries to run, encounters an error, and exits. ... the app runs fine if I manually launch it after the command prompt ...
    (microsoft.public.windowsxp.embedded)
  • Re: DOS Environment not working
    ... It just shows the variables set by windows on startup, ... The batch file does not fail because I ... installed a errorlevel statement to echo a message.... ... I run the batchfile at the command prompt, but when I check the variables: ...
    (microsoft.public.windowsxp.general)
  • Re: Script to MOVE file and leave a Shortcut to new location
    ... It also avoids re-creating any already existing shortcuts, so you could run it after your subsequent robocopy cleanup runs. ... @echo off ... Since your description about the source and target folders is rather vague, you may have to tweak the above batch file a little in order to suit your environment. ... You must test the batch file from the Command Prompt. ...
    (microsoft.public.windows.server.scripting)