Step 1: Click on “Start” –>Run –> type cmd and click on OK. Here I assume your pen drive letter as G:
Step 2 : Enter this command.
attrib -h -r -s /s /d g:\*.*
Note : Don’t forget to replace the letter g with your pen drive letter.
Step 3: Now press “Enter”.
Step 4: Now check for your files and folder in Pen Drive.