This seems like a really simple question.
Most of the time I choose to show extensions for known file types, but sometimes (most notably when renaming files by hand) it is convenient to hide them.
This is achived by checking the checkbox at:
Tools -> Folder Options -> View -> Hide extensions for know file types.
Now what I would like to do is write a really simple app which will change this for me instantly.
So maybe when I run the app once it enables the setting and when I run it again it disables the setting. Really simple.
I'm guessing there is a DWORD somewhere in the registry or something to that effect. How would I got about doing this programmatically?
PS. I would prefer to do this in C# if possible.
Thanks in advance,