A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old June 23rd 08, 09:23 AM posted to microsoft.public.windowsxp.customize
Michael Moser
external usenet poster
 
Posts: 99
Default Can one start a program with lower priority from a .lnk-file?

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

Ads
  #2  
Old June 23rd 08, 03:01 PM posted to microsoft.public.windowsxp.customize
Leonard Grey[_2_]
external usenet poster
 
Posts: 263
Default Can one start a program with lower priority from a .lnk-file?

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

  #3  
Old June 24th 08, 05:33 AM posted to microsoft.public.windowsxp.customize
Ramesh, MS-MVP[_2_]
external usenet poster
 
Posts: 414
Default Can one start a program with lower priority from a .lnk-file?

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" wrote in message
...
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



  #4  
Old June 25th 08, 11:25 PM posted to microsoft.public.windowsxp.customize
Michael Moser
external usenet poster
 
Posts: 99
Default Can one start a program with lower priority from a .lnk-file?

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

  #5  
Old June 26th 08, 08:18 AM posted to microsoft.public.windowsxp.customize
Ramesh, MS-MVP[_2_]
external usenet poster
 
Posts: 414
Default Can one start a program with lower priority from a .lnk-file?

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" wrote in message
...
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



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 03:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.