Friday, August 2, 2013

Unhide all folders and files in USB drive

Recently I got my flash drive affected with a virus and all the folders were hidden and a shortcuts were created. I removed the virus program running in my system with avg antivirus and used the below command to show all the hidden directory

attrib -s -h /s /d *.*

You can execute this command at the root folder

This dos command just remove the hidden attribute from all the folders.