Show All Files And Folder Hidden By Virus Open Command Prompt (CMD) as an Administrator. Navigate to the drive whose files are hidden and you want to recover. Then Type attrib -s -h -r /s /d *. * and hit Enter. That is it. Now you will get all the hidden files and folder as general files and you can use it.