You can't ask that question. It is either too broad or asking for an off-site resource.
Instead you could have shown the code that copies the images to an USB drive. Then you could have asked, if you would have found autorun.inf
, how you can auto start that application when present on an USB drive.
If you don't know where to search, you can always include the search results. Something like I searched for "execute USB drive" and from that I tried start java usb.jar
, but that only works if I double-click the cmd file or something along those lines. Keep the steps small. I want to create an app should be avoided. In my app I copy files to the USB drive, but that fails with error 0xDEAD, what can be wrong is a much more precise issue that is answerable in a few paragraphs.
Remember that on Stack Overflow we never want to do the research for you, but we are happy to help you if you tried something/anything you found, show why/what didn't work out, and based on what assumption you went down that route. That info is enough for visitors of your question to either fix your issue or rectify your assumptions and direct you to a better solution.