How to get the path of a shortcut (NOT target path) in .net?

Posted by okkko on Stack Overflow See other posts from Stack Overflow or by okkko
Published on 2010-06-01T08:21:12Z Indexed on 2010/06/01 8:23 UTC
Read the original article Hit count: 214

Filed under:
|
|

Hello world!

I have an .exe application written in vb.net. When I make shortcuts to the application, say on desktop (or anywhere else) and then click on them I want to programatically get the path to that shortcut, ie. C:/Users/xxx/Desktop/shortcut.lnk.

I want this so I can store the pairs shortcuts : (program + different cmd args).

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about path