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

StackOverflow https://stackoverflow.com/questions/5359050

  •  27-10-2019
  •  | 
  •  

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?

Much thanks for your help.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top