Running shortcut from command prompt without the .lnk extension (Windows)

Posted by Abbas on Super User See other posts from Super User or by Abbas
Published on 2011-01-01T06:21:21Z Indexed on 2011/01/01 6:56 UTC
Read the original article Hit count: 322

I have created a folder (d:\shortcuts), created shortcuts for most applications in this folder and appended the folder path to the Path environment variable. Now all my applications are available from run and command window without messing around with Path.

However, I now have to type the name of the shortcut as well as extension (e.g. vlc.lnk) to invoke it. Is there any way to do this without typing the extension?

© Super User or respective owner

Related posts about Windows

Related posts about command-line