Many time you may face issues where you are unable to format your memory card or pen drive, in order to solve the issue you can format it using command prompt:

To open the DOS prompt (Start >> Run >> cmd)


This will reformat the memory card/ Pen drive. Replace X: with the actual drive letter of your Pen Drive or memory card.