If your USB device is affected with virus that hide all your file in the drive then I have solution for that. Some virus may hides your files and folders, creates exe file extensions of your folders and even corrupt your files.
Here i going explain about the permanent solution for recovering hidden files by Command prompt in windows operating systems. Follow the steps below:
Plug your USB Pendrive or External HDD or Memory Card which is Affected.
Go to Start -> Run-> Type CMD and Enter
You’ll see black screen. Find the drive letter for the connected USB drive from “My Computer”. For Example,If your USB is in drive I:
In command prompt, type I:
and Hit enter. Command Prompt will show I:/
attrib -s -h /s /d *.*
After typing, hit enter screen will be as below at the moment. Wait for few seconds and you’re done.
[Note: Type attrib (space) -s (space) -h (space) /s (space) /d (space)]
Make sure that you put space between each elements in the code.
and hit enter and wait for few seconds.