How To Show All Files And Folder Hidden By Virus in Windows 8, 7 and XP

December 3, 2013

How To Show All Files And Folder Hidden By Virus Using Command Prompt In Windows 8, 7 and XP

Sometimes you got a problem when your computer has so much viruses and your antivirus failed to detect it. You insert an external device like pen-drive, Flash drive or memory card or any other external storage device and all the data of the devices are got hidden and a shortcut to those files are created. On that case the files are not deleted they are hidden by some-kind of viruses (Shortcut virus). If you format the drive then all the data will be deleted. Complete the below process to recover those hidden files and folder without deleting the data using Command Prompt (CMD). The process works well on all version of Windows Operating System after XP SP2 (Windows XP, Windows Vista, Windows 7, Windows 8, Windows RT etc..)
Also Check: How To Create a Folder Without Icon And Name

Process To View All The Hidden Files And Folder using Command Prompt in Windows

  1. Open Command Prompt (CMD) as an Administrator.
  2. Navigate to the drive whose files are hidden and you want to recover.
  3. Then Type attrib -s -h -r /s /d *.* and hit Enter.
  4. That is it. Now you will get all the hidden files and folder as general files and you can use it.
Note: You can also show all types of hidden files and folder without using Command Prompt.
Also Check: How to show all the hidden files and folder without using Command Prompt


  1. Abhirath Mahipal says:

    Will give it a shot. I have thousands of folders and might not have noticed missing folders at all 😛

    Nice tip. Never knew about this.

  2. farkan says:

    great info and good post thankss for sharing this post

  3. Srimal says:

    Thanxxxxxxxx Lotttttttttt….!!!!!!!!!!!!!!

  4. learner newbie says:

    i have confidence that the commands you posted work but i can’t understand why you haven’t explained what they mean…

  5. girish says:

    its working…

    thanks a lot..

  6. dericko says:


  7. Semage Namal Surendra says:

    Very Useful. Thank you very much.

  8. Sylvaster Nave says:

    After I entered all those above things I hit the enter key it said file not found – *.*

  9. Pali says:

    Thanx… It Worked for me…

  10. soumya maitra says:

    It’s good!

Leave a Reply