Automatically run a batch file on USB device insertion/removal

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 3
Points 90
Joined: Jul 2009
rohan Posted: Tue, Jul 7 2009 5:32 AM

Is there any software for windows that, when it detects a certain USB device being inserted or removed, will run a script?

Thanks!

 

 

 

_____________

 

www.wasserbettenhife.com
Life Assurance

  • | Post Points: 20
Top 50 Contributor
Posts 1,849
Points 14,750
Joined: Jul 2001
Location: United States, New York
digitaldd replied on Thu, Jul 9 2009 10:06 AM

You can script what you want run on the USB device itself as long as its a drive of some kind. just create an autorun.inf file and read up on what you can put in there. I believe you can easily call a batch file from the autorun.inf.

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS