This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes General Computing and the fly likes Autorun .bat file from pendrive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Autorun .bat file from pendrive" Watch "Autorun .bat file from pendrive" New topic

Autorun .bat file from pendrive

Akshay Yaduvanshi

Joined: May 20, 2013
Posts: 5
Hi i want to run automatically .bat file from ma pen drive on connecting to pc
I tried making autorun.inf and putting


in file and i also disabled the autoplay but still its not working
please post the answer
I agree. Here's the link:
subject: Autorun .bat file from pendrive
Similar Threads
keep cmd window open after System.exit(0) (.bat file)
how to run a .bat file from java program.
Running at startup
CD Version
How to write program to copy all data on flash drives when it plug into usb port.can it do using