开发者

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

开发者 https://www.devze.com 2023-02-18 14:41 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消