priority and services

  • Thread starter Thread starter Roberto Ortolano
  • Start date Start date
R

Roberto Ortolano

Hello

is there a way to run a service via command line and specify the
priority at which it has to execute?

I know that you can do that with a normal .exe by doing

start /low namefile.exe

is it possible to do something like that (for example through "net
start") with a service?

Thanks
 
I know that you can start an application at a priority other than normal
with the start command. For example, start /belownormal C:\dir\appname.exe

Is there a way of doing this in the application's shortcut?
 
Dave Lerner said:
I know that you can start an application at a priority other than normal
with the start command. For example, start /belownormal C:\dir\appname.exe

Is there a way of doing this in the application's shortcut?

Not that I know of, without using third-party software.

I just create batch files and make shortcuts to those on my
desktop. Same difference.

Rick
 
Hi Dave,

I am anything but a cmdprompt expert (they hang-out in
microsoft.public.win2000.cmdprompt.admin) but the following worked for me:

- Create a shortcut to Notepad
- Right-click shortcut, click Properties, and in the Target: box enter the following:

cmd /c start /BELOWNORMAL C:\WINNT\NOTEPAD.EXE

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "Dave Lerner" <mercury AT spamcop DOT net>
: Wrote in message : Sent: Tuesday, September 16, 2003 1:45 PM
: I know that you can start an application at a priority other than normal
: with the start command. For example, start /belownormal C:\dir\appname.exe
:
: Is there a way of doing this in the application's shortcut?
 
Hi Dave,

I am anything but a cmdprompt expert (they hang-out in
microsoft.public.win2000.cmdprompt.admin) but the following worked for me:

- Create a shortcut to Notepad
- Right-click shortcut, click Properties, and in the Target: box enter the following:

cmd /c start /BELOWNORMAL C:\WINNT\NOTEPAD.EXE

Thanks :)

Sorry I didn't reply earlier, but your post only just now showed up in OE.
 
Back
Top