Majority of computer users nowadays uses USB flash memory’s like pen drives for transferring data, movies, games documents and more.. The only disadvantage of using this kind of memory is that most of these Flash disk’s have write protection or virus protection in it.
If you have some nasty virus on USB drive that hide all your file in the drive? i.e; 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.
One sure way to retrieve your file or folder attributes back to unhidden is to use command prompt in windows. All you have to do is described below in steps.
Plug your pen drive to USB port of your computer. Make sure it is detected.
Start command prompt by Click Start>>Run and type cmd then hit enter.
Find the drive letter for the connected USB drive. For example, G:
In command prompt, type G:
attrib -s -h /s /d *.*
hit enter, wait a moment and this should unhide all your files on your pendrive. Checkout the screenshot for more to clarify.