For Vista/Win7:  C:\Users<username>\AppData

 

Try this for your Windows CE - 

Console.WriteLine("GetFolderPath: {0}",
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData))

  _____  

Ian Thomas
Victoria Park, Western Australia

  _____  

From: [email protected] [mailto:[email protected]]
On Behalf Of Simon Kuldin
Sent: Wednesday, June 08, 2011 1:50 PM
To: [email protected]
Subject: finding a directory

 

Hey there ppl,

 

I'm using an XML file to save some UserSettings in my Windows CE C# project,
and when I save a file in the following path
(Environment.SpecialFolder.ApplicationData) it appears to be working fine.
The problem is I can't for the life of me find the file when I refer to it
in Windows Explorer.  I've done a full PC search but I can't find the dang
file.  When I use the debugger, the value for that folder is \\Application
<file:///\\Application%20Data>  Data which is not useful as it does not take
me directly to the file.

 

The reason I'm trying to find the file, is so that I can edit the file and
see what affect it has but I am having no luck at all at the moment.

 

Can anyone shed some light for me?

 

 

Simon Kuldin | Senior Technical Consultant | PRISM 

Reply via email to