Root name of application location

  • Thread starter Thread starter A.Rocha
  • Start date Start date
A

A.Rocha

Hi,

I need some help to solve the following issue:

I developed an application that creates some files and would like to keep
them in the folder:
/MyDocuments/myapp/

To get Path i use:
string _DocPATH =
Environment.GetFolderPath(Environment.SpecialFolder.Personal).ToString() +
@"\" + myapp;
Its work fine.

But, when i install the cab, if i choose install in Storage Card, I would
like to create the same structure but in the Internal Storage Card by
default.
Like this:
/Internal Storage/MyDocuments/myapp/

How i do that?
Thanks for any help.
 
You'll have to call WCELOAD and pass over the location and ensure you have
an .inf with the desired structure. Making the storage card the default is
difficult due to varying naming for removabe flash drives on Windows Mobile.
 
Back
Top