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.
我的要求是删除文件夹的快捷方式。名为 test 的文件夹位于 $windir 中。该文件夹的快捷方式在桌面上。我的 nsis 脚本应该删除那个快捷方式。这样做的脚本行是什么?
快捷方式目标的名称无关紧要,快捷方式只是一个带有隐藏 .lnk 扩展名的文件。
Delete "$desktop\nameofyourshortcut.lnk"