open cmd
attrib -s -r -h /s /d W:\*.*
Where “W” is your drive letter. Make sure to change the drive letter before proceeding. In the above code, the drive letter is “W“. To check the drive letter of your flash drive, simply open “My Computer”. Commonly, your drive letter will start from letter “E, F, G, H” and so on.
Example: If your drive letter is letter E, the final code will look like this:
from this: attrib -s -r -h /s /d W:\*.*
into this: attrib -s -r -h /s /d E:\*.*
5. Hit/Press “Enter” and you’re done. Now check your flash drive and see if the hidden files and folders are now visible.