Re: Set process priority in Windows XP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Set process priority in Windows XP

From: Melissa Schrumpf <m_schrumpf_at_yahoo_com_NOT@microsoft.com>
Date: Sat Dec 31 2005 - 22:18:18 CET

Arjen Markus wrote:

> You can start the program with the desired priority via the start
> command
> (see "help start"). You can apply this in an invocation of [exec]:
>
> exec [autoexec_ok start] /abovenormal myprog
>
> (not tested!)
>
> I do not know of a way to set the priority of a running command.

It's programatically doable, using API calls. Also, the OP might want
to look around. There's a utility out there which is a Windows
implementation of the unix `renice` command, RENICE.EXE. I forget where
it came from. Perhaps Windows Server tools, a platform SDK kit,
unxutils, GNU ports, or somesuch.

-- 
MKS
Received on Tue Jan 3 03:10:00 2006