File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
how to run a .bat file from java program.
How to write program to copy all data on flash drives when it plug into usb port.can it do using
CD Version
keep cmd window open after System.exit(0) (.bat file)
Running at startup