PC Review


Reply
Thread Tools Rate Thread

Can one start a program with lower priority from a .lnk-file?

 
 
Michael Moser
Guest
Posts: n/a
 
      23rd Jun 2008
I would like to start a specific program from a desktop .lnk-file (aka
"shortcut") but with low priority (so it runs essentially in the
background).
Can I do that and what are the necessary options?

I tried to change the "target" in the links property to read
start "title" /LOW "<path to .exe>" but that only yields me a "the
name 'start' specified in the target box is not valid. Make sure bla
bla...".

Is there really no more elegant way than to move the command line into a
..cmd/.bat file and then use that as link target?

Michael

 
Reply With Quote
 
 
 
 
Leonard Grey
Guest
Posts: n/a
 
      23rd Jun 2008
A program runs in the background because that's how the developers
designed it. The designers of the program in question can tell you if
they built that into the code, possibly by a command line option. If
they didn't, you can't force it to run in the background.

'Low priority' doesn't necessarily mean 'in the background'. Priority
has to do with what priority a program gets to access the CPU's resources.

---
Leonard Grey
Errare humanum est

Michael Moser wrote:
> I would like to start a specific program from a desktop .lnk-file (aka
> "shortcut") but with low priority (so it runs essentially in the
> background).
> Can I do that and what are the necessary options?
>
> I tried to change the "target" in the links property to read
> start "title" /LOW "<path to .exe>" but that only yields me a "the
> name 'start' specified in the target box is not valid. Make sure bla
> bla...".
>
> Is there really no more elegant way than to move the command line into a
> .cmd/.bat file and then use that as link target?
>
> Michael
>

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      24th Jun 2008
Add %comspec% before "Start".

%comspec% /c start "title" /LOW "<path to .exe>"

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


"Michael Moser" <michael-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I would like to start a specific program from a desktop .lnk-file (aka
>"shortcut") but with low priority (so it runs essentially in the
>background).
> Can I do that and what are the necessary options?
>
> I tried to change the "target" in the links property to read
> start "title" /LOW "<path to .exe>" but that only yields me a "the name
> 'start' specified in the target box is not valid. Make sure bla bla...".
>
> Is there really no more elegant way than to move the command line into a
> .cmd/.bat file and then use that as link target?
>
> Michael
>



 
Reply With Quote
 
Michael Moser
Guest
Posts: n/a
 
      25th Jun 2008
Ramesh, MS-MVP wrote:
> Add %comspec% before "Start".
>
> %comspec% /c start "title" /LOW "<path to .exe>"
>


Thanks -that's exactly what I was looking for!

Cheers,
Michael

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      26th Jun 2008
You're welcome Michael.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


"Michael Moser" <michael-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ramesh, MS-MVP wrote:
>> Add %comspec% before "Start".
>>
>> %comspec% /c start "title" /LOW "<path to .exe>"
>>

>
> Thanks -that's exactly what I was looking for!
>
> Cheers,
> Michael
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Start a program at low priority? starrynight Windows XP General 1 9th Mar 2007 09:46 AM
How to start a program at low priority? Susan Rice Windows XP Help 1 7th Feb 2007 02:59 PM
Background thread with lower priority Jeffry van de Vuurst Microsoft Dot NET Compact Framework 20 13th Dec 2006 07:39 AM
Re: Running cl.exe in lower priority Alain Dekker Microsoft Dot NET 0 31st May 2005 02:24 PM
How to lower priority of a process Matti Lamprhey Windows XP General 3 24th Jan 2005 04:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:59 PM.