We came with a scenario where we have to use Shortcut file (
.lnk), which is on the desktop, to execute an application for a headless device (i.e, without manual intervention).
Is there any way to execute it from Command prompt?
If you use double quotes around your "long file names.lnk" and you have privvies, it will execute. Quotes are needed when spaces exist in LFN's.
As long as there is no exe with the same name as the shortcut, you can omit the .lnk, so just