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.
请让我知道如何以编程方式卸载小工具。现在我正在使用这个命令
sidebar.exe /卸载小工具名称
但它只是弹出小工具控制窗口,不卸载指定小工具。我在命令方面做错了什么吗?请帮忙。提前致谢。
假设该小工具当前未运行(无论如何都必须关闭它才能卸载),您可以删除该小工具的文件夹,该文件夹通常位于appdata%\local\Microsoft\Windows Sidebar\Gadgets\.
appdata%\local\Microsoft\Windows Sidebar\Gadgets\
文件夹的名称将是<your-gadget-name>.gadget. 无论如何,这几乎就是 sidebar.exe 在卸载小工具时所做的事情。
<your-gadget-name>.gadget