This is a guest post by Abhishek Bhatnagar from www.technixupdate.com, a blog covering Computer tips and tricks. Subscribe to his RSS feeds to get regular updates.
There are lots of times when you may feel the need to view hidden and system files in Windows. The process though quite simple is tedious if you do it frequently, first of all you will need to open windows explorer, then go to File Menu >> Tools, after that you will have to click Folder Options.
In the Folder Options window, you need to select the View tab and select the check boxes accordingly. ( shown below )
Related: A simple guide and video to view hidden files in Windows.
But wait, what if you can write a windows shell script that can do the same for you in seconds?
Let’s see how can create the script to show and hide hidden and system files in windows explorer.
I have compiled a Windows shell script after some searching on Windows shell scripting and written it out of curiosity and it worked.
About the Script
The script is quite self explanatory, but let me explain, I have first created a Shell Object sh and variable theKey to hold the registry path.
Also used a variable setHidden to set the value of the registry key named Hidden.
You just need to double click to execute the script to show or hide system and hidden files in windows explorer. It will also show a Message Box which displays a message whether system hidden files are shown or hidden in windows explorer.
If you want see the script right click on the script file and open with notepad. You can refer to the script and create another script to automate the registry editing of any other registry key.
How To Use the Script
1. Download the script from here.
2. Double click the downloaded script to show and hide system and hidden files in windows.
Note: This script works for both windows vista and XP
Tip: We recommend to place the script somewhere else on your hard drive and place a desktop shortcut for the script.
Want to get noticed on Techie Buzz? Or feeling a urge to write for Us? Feel free to submit your guest posts or author requests by using the Write for Us form.



Pingback: Windows: visualizzare/nascondere le cartelle e i file nascosti con un click - Geekissimo