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.
我想在拔下 USB 驱动器时运行批处理文件。
使用 AutoRun.inf 我们可以在 USB 插入上启动一个批处理文件。
但不确定如何在 USB Remove 上执行它。
确定不使用 autorun.inf。您必须编码并运行一个应用程序,该应用程序将响应移除的 USB 设备,我认为这对您的情况没有帮助。