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.
我需要在 vb.net 中执行一个 .lnk 文件(指向 exe 文件的 lnk 文件)。我能怎么做?
shell("path/file.lnk")
不工作
谢谢你的帮助。
您没有指明您的平台,但在 Windows 7 上,用于Process.Start使用文件启动应用程序.lnk:
Process.Start
.lnk
Process.Start(pathToLink)