You can repair a corrupted pendrive or SD card using Command Prompt in windows. This How to guide will help you to fix a corrupted pen drive in a simpler way.
#1 Connect the USB pen drive or flash drive to PC.
#2 Open windows explorer -> View -> Show hidden files
(This confirms that the files are not hidden)
#3 To make pendrive data Visible, type the commands as below in CMD
attrib -h -r -s /s /d g:\*.*
Instead of "g" use your pendrive drive letter. This makes your pendrive corrupted files visible!
#1 Connect the USB pen drive or flash drive to PC.
#2 Open windows explorer -> View -> Show hidden files
(This confirms that the files are not hidden)
#3 To make pendrive data Visible, type the commands as below in CMD
attrib -h -r -s /s /d g:\*.*
Instead of "g" use your pendrive drive letter. This makes your pendrive corrupted files visible!