Auto detect usb dirve using batch file

i wanna code some program in batch file. auto detect USB pen drive after insert pc. but no id file no more anything.
chamicool
Asked Feb 18, 2013
A USB drive is detected at the time it is inserted into the computer. You can address it in a batch file just like any other drive. Suppose it is detected as drive "F," and you want to run a program called "My Program" in the root folder:

F:\My Program.exe."
Rob
Answered Feb 18, 2013

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories