The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Getting the temp folder
Maybe it isn’t a big issue but it is one of those things that waste my time and for that reason piss me of :-(
 
The Environment class has a GetFolderPath() function that lets you retrieve a whole list of folders as defined by the SpecialFolder enumeration. Nice but the Temp folder isn't part of the enumeration. If you want to find the temp folder you need to use the Path.GetTempPath() function. So how hard would it be to add the TempPath to the SpecialFolder enumeration and have the developer remember only a single function to check directories>
 
 
Maurice de Beijer
Published Fri, Feb 24 2006 17:00 by Maurice
Filed under: