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
 
Back
Top