Wednesday, December 5, 2012

Script to make all folder unhide

If you face a problem that all your folder in window directory was missing, you may try to un-check few options in folder option menu.
By default of Windows, the ribbon will be at #2-1, "Don't show hidden files, folders, or drives.
To view hidden file, change the ribbon to #2-2, show hidden files, folders, and drives
However, sometimes you need to un-check #2-3, hide protected operating system files (recommended) while the system has been infected by virus.

#3 is un-hide all file extension for all file types if there was un-check.

Then you may see some kind like this as below picture. All folder are hidden and grey out.

How to make all folder unhidden in one-shot instead to do it one-by-one folder?
Here is the command prompt script to let you unhide all folder in one-click.



Copy all those text into notepad.exe and save it as *.bat file extension. Then put the file *.bat into those folder or drives that infected and execute it.
Then you will see all your folder come back as per normal and you may check back the folder options as windows default.

Reference:

http://forums.techguy.org/windows-7/1029473-making-all-hidden-files-unhidden.html

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...