View Single Post
  #3 (permalink)  
Old 03-06-2007, 10:17 AM
MrHappy's Avatar
MrHappy
PPCGeeks Regular
Offline
Threadstarter
Location: Sunny FL
 
Join Date: Jan 2007
Posts: 180
Reputation: 6
MrHappy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to MrHappy Send a message via Yahoo to MrHappy
naming a folder 2577 will cause any ppc device to attempt to autorun whatever is in that folder.


<snip from: http://msdn2.microsoft.com/en-us/library/aa454908.aspx>
Media cards that autoplay
Imagine an SD card behaving on your Smartphone or Pocket PC much like a CD-ROM behaves on your Windows–based desktop computer. This feature is one of the easiest things to implement on a Windows Mobile–based device. To do this, rename the application that you want to start, such as a software catalog or game, to autorun.exe, and then copy it into a folder specifically called 2577. (The number is important) Then, copy that folder and its contents to the root of your media card, insert the media card into your Windows Mobile–based device, and your application will automatically start the application.
Note The number used to name the folder indicates the CPU type that the autorun.exe is targeting. 2577 is the processor code for the ARM–based processor family and, therefore, indicates that the contained autorun.exe is to be used by ARM–based processor devices. In the case of Windows Mobile–based devices, the folder is always named 2577 because all Windows Mobile–based devices have ARM–based processors.