当前位置: 动力学知识库 > 问答 > 编程问答 >

Resolving of shell links in c# under Windows 7 fails

问题描述:

I try to resolve the paths of shell links, which are contained in the "Recent Documents" folder in Windows 7. I used the code posted here (Answer No 3) How to resolve a .lnk in c#. But the method ResolveShortcut is not able to determine the path of some files (e.g. many .txt-files). The same code works perfectly under Windows XP.

网友答案:

I just downloaded, upgraded to 2010 and ran this sample on a Win7 system without any problem without changing anything whatsoever.

分享给朋友:
您可能感兴趣的文章:
随机阅读: