Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I created a new folder inside my USB Flash partition with my Windows 8 machine: enter image description here

It looks like everything was OK, but it spent more than the usual time to create it(like 1 or 2 min instead of 1 or 2 ms). When I opened it to put my files inside, I just came across a lot of random garbage (strange characters) inside the new folder (including additional folders and files):

enter image description here

Now, I just can't delete it by any means; by using Shift+Del inside Windows 8:

enter image description here

As you can see, it tells me that the paths and the filenames are too long to delete it.

Or using my Linux Ubuntu machine(by using 'rm -rf'), it also returned me that the paths and filenames are too long..

So, how can I delete this undesired folder from my Flash USB without needing to format the entire partition?

share|improve this question
    
Have you tried renaming the files? It seems that you are not alone. See if someone got it to work. Edit: this guy seem to have fixed it. –  Alex Mar 19 '13 at 13:48
1  
How strange... I wonder what caused this... –  MDT Guy Mar 19 '13 at 14:10

1 Answer 1

up vote 3 down vote accepted

I would assume that your file system itself is defective. This would make it unlikely that you could simply interact with it and delete the problematic entry.

Instead, you may want to run chkdsk on the disk in question to try to fix the invalid entries. Be sure to provide the /F parameter to attempt to fix broken entries:

chkdsk G: /F
share|improve this answer
    
Problem solved, just used chkdsk /F on it, then the undesired folder became a file, that I could normally delete by using shift+del on Windows. Thank you so much. –  Diogo Mar 19 '13 at 13:55

protected by Diogo Sep 12 '13 at 13:31

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.