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デバイスに応答するアプリケーションをコーディングして実行する必要がありますが、これはあなたの状況には役立たないと思います。