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
Author

Autorun .bat file from pendrive

Akshay Yaduvanshi
Greenhorn

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
[autorun]

open=anything.bat

Icon=anything.ico
in file and i also disabled the autoplay but still its not working
please post the answer
 
I agree. Here's the link: http://aspose.com/file-tools
 
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