If you have some nasty virus on USB drive that hide all your file in the drive? ie; hides your files and folders, creates exe file extensions of your folders and even corrupt your files. You can view these files by going to Tools>>Folder Options ..But the attributes of these files often stay unchanged even if you uncheck hidden attribute on file/folder properties.
Here i going to tell the Permanent Solution for recovering hidden files by Command prompt in windows operating system.
Step One:Plug your USB Pendrive or External HDD or Memory Card which is Affected.
Step Two:Go to Start -> Run-> Type CMD and Enter
Step Three:Find the drive letter for the connected USB drive. For Example, I:
In command prompt, type I:
and Hit enter. Command Prompt will show I:/
Step Four:Then type
attrib -s -h /s /d *.*
Make sure that you put space between each elements in the code.
and hit enter and wait for few seconds.
Check the Screen Shot of Above Steps:
Now check your USB pendrive you can see your files are back in their locations. If you have any doubts Mention it on Comments.