"Autorun" when inserting SD card

Discussion in 'Microsoft Dot NET Compact Framework' started by Paul J., Jan 23, 2004.

  1. Paul J.

    Paul J. Guest


    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 ?


    Paul J., Jan 23, 2004
    1. Advertisements

  2. create an autorun.inf file with the following syntax:

    Simply replace program.exe with the file/program you want to autorun. Place
    this autorun.inf file in the root of the sd card.
    Adam Gilstrap, Jan 23, 2004
    1. Advertisements

  3. 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.

    Peter Foot [MVP], Jan 23, 2004
  4. Alex Feinman [MVP], Jan 23, 2004
  5. You should be able to use th '\0' directory as well, which is for all

    Chris Tacke, eMVP
    Co-Founder and Advisory Board Member
    Windows CE Product Manager
    Applied Data Systems
    Chris Tacke, eMVP, Jan 23, 2004
  6. Paul J.

    Paul J. Guest

    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 ...

    Paul J.
    Paul J., Jan 26, 2004
  7. IPaq has an ARM CPU, which is 2577

    Alex Feinman [MVP], Jan 26, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.