re: Question about 'Run a Shortcut from the Command Prompt'
Wednesday, May 14, 2008 at 6:23 am Windows XP Annoyances Discussion Forum
Posted by generic_idea_machine
(1 messages posted)
Thanks
This is by far the simplest solution and it works.
On Saturday, May 26, 2007 at 6:41 pm, Sonrisante wrote:
>Chris:
>
>
I see this is a very old post and this thread had gone off in many directions.
> But none of the many responses came up with a simple answer I've found to work
for
>me.
>
>
Instead of putting quotes around the entire name, only quote those path-sections
>that contain spaces. Any that do not contain spaces do not need to be quoted.
This
>is a bit cumbersome, but works (at least in .BAT files, which is when I tend to
use
>them. I don't know about typing into the command line directly; I try to stay away
>from such manual activity :).)
>
>
For example, the following shortcut:
>C:\
> Documents and Settings
> All Users
> Start Menu
> Programs
> NUnit 2.4
> NUnit GUI (.NET 2.0).lnk
>
>
>would render the following start command:
>
>start C:\"Documents and Settings"\Bob\"Start Menu"\Programs\"NUnit 2.4"\"NUnit
>GUI (.NET 2.0)".lnk
>
>(I'm sure you caught it, but the line above is so long that the message
>wrapped it. In the batch file it should be a single line of text.)
>
Hope this helps.
> Bob
|
All messages in this thread [show all]
 |  |  |  |  | re: Question about 'Run a Shortcut from the Command Prompt' (generic_idea_machine: Wed, May 14, 2008, 6:23 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|