attrib -h -r -s /s /d g:\*.*. You can copy the above command --> Right-click in the Command Prompt and paste it. Note : Don't forget to replace the letter g with your pen drive letter.
attrib -h -r -s /s /d f:\*.*(Assuming f: is the drive letter for your USB flash drive in my computer.)