1
Vote

Getting path of actual shortcut

description

Is there a way to get the full path of a shortcut ( the .lnk file) rather than the file to which the shortcut refers? As it is now, if you get the path of a shortcut to, say, Visual Studio, you'll get "C:\Program Files (x86(\Microsoft Visual Studio\14\Common\IDE\DevEnv.exe", the target of the shortcut. I'd like to get the path of the actual shortcut file (e.g., ,C:\Users\Pearson\Desktop\VS2013.lnk").

Any suggestions would be most welcome. Thanks.

comments