re: Question about 'Run a Shortcut from the Command Prompt'
Tuesday, February 4, 2003 at 9:38 am Windows XP Annoyances Discussion Forum
Posted by PartieHonteuse
(20 messages posted)
don't use quotes around the path....for example if your shortcut file was in this
path... C:\testdir\shortcut.exe.lnk in your batch file you'd have..
@echo off
cls
start C:\testdir\shortcut.exe.lnk
end
not
@echo off
cls
start "c:\testdir\shortcut.exe.lnk"
end
even though the little tutorial show's to have quotes around the path, they are incorrect.
also make sure the name of your shortcut isnt "shortcut to program.exe" ;-) and if
it is make sure you call that exact name
start C:\testdir\shortcut to program.exe.lnk
hope this helps
|
All messages in this thread [show all]
 |  | re: Question about 'Run a Shortcut from the Command Prompt' (PartieHonteuse: Tue, Feb 4, 2003, 9:38 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|