Skip to main content

Recover Hidden Files From Virus Infected Pendrive (Using CMD)

Pendrives are currently the best way to transfer data between two computers. Using pendrives is very easy, just plug it into your computer and transfer your files. You can also hide your important files very easily in windows.

To Hide Your Files/Folders -
  1.     Right Click On The File
  2.     Go to Properties.
  3.     Select the General Tab.
  4.     Check Mark the Hidden option.
  5.     Click Ok.

To View Your Files Again -
  1.     Go to Tools
  2.     Click On Folder Options.
  3.     Click on the View tab.
  4.     Select Show Hidden Files And Folders.
  5.     Click Ok.

But when your Pendrive gets infected with viruses, sometimes the Normal procedure to view the hidden files does not work. What then? The solution to that is what I am going to provide in this post. I am going to do this via CMD (Command Prompt)

Solution -
  1.     Click on Start.
  2.     Select Run.
  3.     Type in cmd and hit Enter.
  4.     Now go to My Computer and see the Drive Letter of your pendrive. Lets say it is D.
  5.     Go back to cmd.
  6.     Type In D: and hit Enter.
  7.     Now type attrib -s -h /s /d *.* and press Enter.
  8.     Wait for sometime then go back to the pendrive. There you go, all your files are again visible! :D

Have A Nice Day!


Share this with your friends