Finding Temp Folder

  • Thread starter Thread starter Helen Warn
  • Start date Start date
H

Helen Warn

Hi folks,

Any way to find the special Temp folder on the device? It doesn't appear in
the OpenNetCF SpecialFolder enum.

Thx

Helen
 
I suppose you can use GetTempFileName
Make sure to pass a non-zero 3rd param to avoid actual file creation. Once
you have a name, Path.GetDirectory gives you the path
 
Alex Feinman said:
I suppose you can use GetTempFileName
Make sure to pass a non-zero 3rd param to avoid actual file creation. Once
you have a name, Path.GetDirectory gives you the path
Thanks Alex. I'll give it a try.

Cheers,

Helen
 
You know, I thought about it, but when I did search in the SDK headers,
somehow it did not come up, so I assumed it must be on the desktop only.
Yes, of course this one is more transparent
 

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

Back
Top