re: Question about 'Run a Shortcut from the Command Prompt'
Sunday, June 27, 2010 at 7:01 am Windows XP Annoyances Discussion Forum
Posted by Andy Gee
(2 messages posted)
Yes it works with XP (I have XP Pro but I would imagine it's the same)
Here's a working example.
Put this in a batch file and run it. It should load notepad from the link on your
start menu (assuming you didn't move it).
Note it's all on one line
---------start batch file---------
start rundll32 shell32.dll,ShellExec_RunDLL "C:\Documents and Settings\%username%\Start
Menu\Programs\Accessories\notepad.lnk"
----------end batch file----------
Good luck
|
All messages in this thread [show all]
 |  |  | re: Question about 'Run a Shortcut from the Command Prompt' (Andy Gee: Sun, Jun 27, 2010, 7:01 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|