tags:

views:

76

answers:

2

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