您可以使用WshShell Object:
每当您要在本地运行程序,操纵注册表的内容,创建快捷方式或访问系统文件夹时,就可以创建WshShell对象。
并使用其CreateShortcut方法:
创建一个新的快捷方式,或打开一个现有的快捷方式。
结果WshShortcut对象包含一个TargetPath您正在寻找的属性。
例:
Dim shell = CreateObject("WScript.Shell")
Dim path = shell.CreateShortcut(path_to_your_link).TargetPath
Run Code Online (Sandbox Code Playgroud)