|
-
Apr 26th, 2005, 10:36 PM
#1
Thread Starter
New Member
Change folder view to show-hidden-files [RESOLVED-one last question]
Hello, i was just wondering if there was a way in .NET to edit a registry entry and push the changes through... basically what i want to do is, i have my program that recursivly searches all sub directories and sub directories of those, and every file, it counts them to see how many files are contained within a directory tree. Now, what i want to do is, if the computer you are on, does not have the "Show Hidden Files and Folders" option on, i want to turn it on, and force an update so that my recursive search will pick up all possible files. Because i noticed that when files are hidden, it wont count them. So i know for a fact i could find out in the registry where this option changes when you physically change it in an explorer window. But how would you go about forcing the update so that it will "Apply" it so to speak... if i am un clear of my objective, please email me, or reply. This is very important. If there is a way to do it other than the registry, please let me know. Thanks in advance.
Last edited by shmickz; Apr 26th, 2005 at 11:53 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|