re: Question about 'Run a Shortcut from the Command Prompt'
Wednesday, December 31, 2003 at 2:55 am Windows XP Annoyances Discussion Forum
Posted by Nick C
(1 messages posted)
Hi,
I'm having the same problem when running a dialup lnk from a batch file using cmd
/k where it leaves a window open. Did you find out how to get round the issue?
cheers
Nick C
On Wednesday, June 4, 2003 at 12:02 am, Vinnie D wrote:
>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
>
>
|
All messages in this thread [show all]
 |  |  |  |  |  |  | re: Question about 'Run a Shortcut from the Command Prompt' (Nick C: Wed, Dec 31, 2003, 2:55 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|