Unhiding files and folders after virus deleted them

This post is all about how to restore or unhide the files and folders after a malware attack. This very command below will also recover all your deleted data. When your computer gets infected, you may remove the virus, but you may also realize that your folders and files are missing! This missing of folders and files mostly affects the external hard disks. But we have the solution for you.

Follow these instructions below:

  1. Click on “Start” –>Run –> type cmd and click on OK.
  2. Or Click on “Start” type CMD and press enter (Windows 7, and Vista)
  3. Here I assume your pen drive letter is h:

Enter this command.

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

You can also copy and paste the command above into Command Prompt window (Righ-click command prompt and then click paste. Make sure you change the h: to your own drive letter!

Now check for your files and folders in Pen Drive and delete any duplicate of your original files/folders with a shortcut icons.