Is there a way to change whether hidden files and folders are displayed by Windows?
Is there a way to change whether hidden files and folders are displayed by Windows?
What I am looking for is a function that will change whether hidden files are shown in Windows Explorer, that is, a way to programmatically toggle the "Show Hidden Files and Folders" setting that is available under "Folder Options..."
Last edited by hunterdude; 06-09-2005 at 04:48 PM.
Can you make up a good story about why you need to change this setting programmatically? Then we won't feel guilty giving you the answer. Consider it a challenge in creative writing.
I want to make a program that will run in the background and use hotkeys to do various things. I wanted one of them to change whether hidden files are displayed. I don't see why this is such a forbidden question.
OK, check out SHGetSetSettings.
Thank you. I have one further question: How do you call this function in python?
That would be a great question for pythonboard.pythonprogramming.com ;-)
Asking a question on a nonexistent message board doesn't usually lead to an answer.