The hidden files on your computer then one of the ways to see those files is to select the ‘Show Hidden Files’ option in Folder Options. But now most of the time pen drives are infected by viruses cant be recovered in this way.
Do following steps to recover and show your hidden files in flash drive.
Scan your pendrive using anti malware software and Antivirus.
1. Do not format the pendrive in hurry
2. Go to command prompt
3. type your pen--drive (drive) Example G: or g: etc
4. Then type attrib -h -r -s /s /d g:\*.*
5. Wait for a few seconds (depends upon your system)
6. open your pendrive
7. all the data in your pendrive will be shown