re: Question about 'Run a Shortcut from the Command Prompt'
Wednesday, June 4, 2003 at 12:02 am Windows XP Annoyances Discussion Forum
Posted by Vinnie D
(1 messages posted)
Here's what I have found (only tested on Windows 2000 server)
You can call a shortcut straight from a command line but not from a batch file (weird
eh?). So how do you do it? You call a command line first!
cmd /k "c:\temp\shortcut.exe.lnk"
I tried using cmd /c but that doesn't work (well not with dial up networking links).
The only problem is /k leaves an open cmd window. I'm trying to solve that but it
is a small price to pay. Use cmd /? to find out more.
Cheers
V
On Friday, May 23, 2003 at 7:19 pm, Salieri wrote:
>Type the exact filename of the shortcut (with or without a "start" doesn't matter).
> For example, if the shortcut is to winrar.exe, windows' default filename is
>
>shortcut to winrar.lnk
>
>typing
>
>shortcut to winrar.exe.lnk
>
>won't work because such a file does not exist.
>
>Please tell me whether this helps.
|
All messages in this thread [show all]
 |  |  |  |  |  | re: Question about 'Run a Shortcut from the Command Prompt' (Vinnie D: Wed, Jun 4, 2003, 12:02 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|