a. Open a DOS prompt (Start >> Run >> Type "cmd") and type:
attrib -r -h -s ./s x:\*.*
This will change the attributes of all of the files on the pen drive. Readonly, hidden, and system attributes will be removed.
b. Replace the X: with your pen drive's drive letter. Now you will be able to see them in Explorer, and delete them, without formatting anything.
Format with DOS commands
a. Open the DOS prompt (Start >> Run >> Type "cmd" in the box)
FORMAT X: /FS:FAT32 /Q /V:PenDrive
This will reformat the Pen drive, using the FAT32 file system, and label the drive PenDrive. Replace X: with the actual drive letter of your Pen Drive. For more help on this command, type:
at the command prompt.
There could be a virus that may stop you formatting your pen drive. I'd have you run a virus chack using your security software once before attempting format again.
Azeez Nadeem - Microsoft Support
[If this post was helpful, please click the "Vote as Helpful" (green triangle) button. If it helps in resolving your issue, click "Propose As Answer" or "Mark as Answer" button. By proposing/marking a post as Answered, or Helpful you help others find the answer
54 people were helped by this reply
Did this solve your problem?
Sorry this didn't help.
Great! Thanks for marking this as the answer.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.