API to toggle "Show hidden files, folders and drives"
Posted
by dbkk
on Stack Overflow
See other posts from Stack Overflow
or by dbkk
Published on 2010-03-25T10:02:43Z
Indexed on
2010/03/25
10:23 UTC
Read the original article
Hit count: 535
Is there a function in Windows API to toggle the "Show hidden files, folders and drives" option in Windows Explorer (Tools >> Folder Options... >> View tab).
I know of a related registry key, but changing that would not have immediate effect. The key is: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Advanced/Folder/Hidden/SHOWALL
Trying to do this from C#, but the question is not language-specific.
© Stack Overflow or respective owner