Thursday, August 4, 2011

Hidden Folder No More

When a disk gets corrupted by a virus, some antivirus software change the attributes of the files and folders to "Hidden". I'm not sure why this is done. Anyway, it gets to be a headache sometimes. Imagine my horror when I was about to deliver a lecture saved in my portable harddisk only to find that I could not see not only the file but the whole folder itself!

To "unhide" a folder in Windows, type the following in the command prompt:

(Assuming H: is the directory where the hidden folder is)
H:\attrib -H -S "Hidden Folder Name" /S /D