Friday, June 3, 2011

Windows: Show Hidden Folders After Virus Infection

Run this command on the folder or drive that has the hidden folders:

e:\attrib -a -s -r -h /s /d

Command Switches:

-a : clear archive attribute
-s : clear system file attribute
-r : clear read-only file attribute
-h : clear hidden file attribute (normally this is all you need, but the virus tagged them as system files as well)
/s : match files in the current folder and sub-folders
/d : process folders as well as files