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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|