Does using Environment.SpecialFolder gurantee the right folder information on all windows OS's?
+2
A:
Yes, it does. It uses the Win32 API SHGetFolderPath
which is available on Windows XP RTM and all downlevel Windows versions with IE 5.0 installed.
Franci Penov
2009-02-19 06:09:04
Also note that the .NET Framework requires at least IE 5.0, so there is no worry about whether this function exists or not (ref: http://msdn.microsoft.com/en-us/library/8z6watww.aspx )
Zooba
2009-02-19 06:12:18
A:
I found these special folder location confusing sometimes. I created a sheet comparing the folder locations on Windows XP and Vista. That may be useful to you. Here is the link.
Hemant
2009-02-19 07:08:14