"Autorun" when inserting SD card


P

Paul J.

Hello,

Is there any "autorun" mechanism when inserting a SD Card ?

I would like to launch an application when a card is
inserted in the Pocket pc ...

Any information about that ?

thanks,

PJ
 
A

Adam Gilstrap

create an autorun.inf file with the following syntax:
[AutoRun]
open=program.exe

Simply replace program.exe with the file/program you want to autorun. Place
this autorun.inf file in the root of the sd card.
 
Ad

Advertisements

P

Peter Foot [MVP]

It can be done by placing an exe called Autorun in a processor specific
folder on the card - e.g. 2577 for ARM based devices. It is probably not
advisable to write this application in .NETCF in case the card is inserted
in a device without the framework present as it will result in an error.
http://www.pocketpcdn.com/articles/autorun.html

Peter
 
P

Paul J.

Thanks a lot everybody ...
It works with PPC2003 Ipaq 1930.
One thing : It does not work with a directory named "2410"
which is the CPU type, but 2577.

I does not seem to work with autorun.inf ...

Thanks,
Paul J.
-----Original Message-----
create an autorun.inf file with the following syntax:
[AutoRun]
open=program.exe

Simply replace program.exe with the file/program you want to autorun. Place
this autorun.inf file in the root of the sd card.

Hello,

Is there any "autorun" mechanism when inserting a SD Card ?

I would like to launch an application when a card is
inserted in the Pocket pc ...

Any information about that ?

thanks,

PJ

.
 
Ad

Advertisements

A

Alex Feinman [MVP]

IPaq has an ARM CPU, which is 2577

Paul J. said:
Thanks a lot everybody ...
It works with PPC2003 Ipaq 1930.
One thing : It does not work with a directory named "2410"
which is the CPU type, but 2577.

I does not seem to work with autorun.inf ...

Thanks,
Paul J.
-----Original Message-----
create an autorun.inf file with the following syntax:
[AutoRun]
open=program.exe

Simply replace program.exe with the file/program you want to autorun. Place
this autorun.inf file in the root of the sd card.

Hello,

Is there any "autorun" mechanism when inserting a SD Card ?

I would like to launch an application when a card is
inserted in the Pocket pc ...

Any information about that ?

thanks,

PJ

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top