以编程方式添加了所有用户桌面的快捷方式并且无法将其删除
在 VB.NET 中,我使用 wscript.shell 添加桌面快捷方式。我没有意识到它在“所有用户”桌面上创建了快捷方式,这意味着我无法删除它。我没有管理员权限,因为这是我的工作计算机,并且无法请求管理员权限。 WScript.Shell 有一个 createshortcut 方法,但没有删除快捷方式方法!我已经用谷歌搜索了好几天了,但没有运气。 Windows XP 专业版 2002、SP3。
这可能是不可能的,但令人沮丧的是我可以添加快捷方式但不能删除它。如果有人可以帮助我,我将非常感激!
In VB.NET I used wscript.shell to add a shortcut to the desktop. I didn't realize it created the shortcut on the "All Users" desktop, which means I can't delete it. I don't have admin rights as this is my work computer, and asking for admin isn't an option. WScript.Shell has a createshortcut method but not a remove shortcut method! I've been googling for days with no luck. Windows XP Pro 2002, SP3.
It may be impossible, but it's frustrating I can add a shortcut but not remove it. If anyone could help I'd be so grateful!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以通过 VB.NET 添加“所有用户”的快捷方式,那么您的工作安全性显然达不到要求。让他们知道它首先到达那里的唯一原因是因为他们的系统缺乏安全性,并且需要以某种方式删除它。
真的不可能让管理员帮你删除吗?
If you can add shortcuts to "All Users" through VB.NET then your work security obviously isn't up to scratch. Let them know that the only reason it got there in the first place is because of their systems' lack of security, and that it needs deleted one way or another.
Is it really impossible to get an admin to delete it for you?