Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Customization / June 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Moser - 23 Jun 2008 09:23 GMT
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
Leonard Grey - 23 Jun 2008 15:01 GMT
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

> 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
[quoted text clipped - 10 lines]
>
> Michael
Ramesh, MS-MVP - 24 Jun 2008 05:33 GMT
Add %comspec% before "Start".

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

Signature

Regards,

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

>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
[quoted text clipped - 9 lines]
>
> Michael
Michael Moser - 25 Jun 2008 23:25 GMT
> Add %comspec% before "Start".
>
> %comspec% /c start "title" /LOW "<path to .exe>"

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

Cheers,
Michael
Ramesh, MS-MVP - 26 Jun 2008 08:18 GMT
You're welcome Michael.

Signature

Regards,

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

>> Add %comspec% before "Start".
>>
[quoted text clipped - 4 lines]
> Cheers,
> Michael
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.