Determining the path to storage cards..

G

Guest

Heya

I have the need to identify when a PocketPC has an SD or CF card inserted in the device. Is there a way to do this programmatically without having to search the various file paths that the device manufacturers choose to link the cards? In other words, is there a way of getting the path to the storage card(s) without hardcoding a search for \SD Card, \CF Card, \Storage Card, etc

~~K
 
P

Peter Foot [MVP]

You can enumerate all top level folders which have the Temporary attribute.
See Alex Feinman's code sample here:-
http://www.opennetcf.org/Forums/topic.asp?TOPIC_ID=432

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Kevin Z Grey said:
Heya,

I have the need to identify when a PocketPC has an SD or CF card
inserted in the device. Is there a way to do this programmatically without
having to search the various file paths that the device manufacturers choose
to link the cards? In other words, is there a way of getting the path to
the storage card(s) without hardcoding a search for \SD Card, \CF Card,
\Storage Card, etc?
 

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