Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不确定他们现在在 Windows 中经常看到的假快捷方式是什么。一个很好的例子是任何 Office 2007 程序的链接。您可以从常规快捷方式中分辨出其中之一,因为目标显示为灰色并且不是真实路径。您可以通过 .NET API 访问这些吗?比如问目标?或获取其中存储的任何信息。
我认为这些在某种程度上与 Windows Installer 和 Advertised 程序有关。
是的,这是一条广告捷径。
您必须调用 Windows 安装程序来获取目标。
目前我只有一个 delphi 源给你,但也许你可以挑选一些信息。
delphi图书馆
简而言之 - 它使用MsiGetShortcutTarget函数来获取目标。