Now a days all the people use USB Flash drives like Pendrive, External Hard Disk and Many more. They all skipped DVD, CD and all optical Disc because it takes time to copy and it cannot be reused. So USB Pendrives are now with all people. I used to see all over my college, they hang USB pendrive in their necks. They carry Music, Movies, Datas in that. How USB flash drives improves as the mean while USB virus also increases along with that.
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.
Plug your USB Pendrive or External HDD or Memory Card which is Affected.
Go to Start -> Run-> Type CMD and Enter
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:/
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 post it in comments i will clarify it.