How can I autorun my app based on a file's existence instead of autorun.inf on SD Card?



I have a device that creates a file called ADxxxxxx.BIN on an SD Card (where "xxxxxx" is a unique number). I’d like to be able to insert this SD Card into a USB card reader (connected to a Windows XP/Vista/7 system) and have my custom application launch automatically and perform some processing on that .BIN file. I do not want to have to create an autorun.inf file on the SD Card.

Is it possible to configure the system to auto run my application based on the presence of the .BIN filename without having to add an autorun.inf file to the SD card?


No. It is not possible. What you can do is have some software running on the machine and checking for new devices that has your ADxxxxxx.BIN file

Answered By – bluefoot

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More