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 read this question:

how to delete (invalid) files with colon in their name under windows

This doesn't seem to work for a directory named C: though.

I have a directory named F:\VM\C: any chance to remove it using Windows?

I tried rmdir "\\?\F:\VM\C:" which didn't work.

share|improve this question
    
There are multiple duplicates on this subject. You can try: superuser.com/questions/90227/files-with-illegal-filenames or: superuser.com/questions/31587/… or: superuser.com/questions/165395/… and just try some of the alternate answers. –  Ramhound Jan 30 '13 at 11:50
    
@Ramhound Ok, all cmd based solutions in these answers have failed so far. Maybe I'll have some luck with specialized tools. Since the file was created on Linux it should be no problem to delete it using Linux, but that's not my question here :) –  Jens Mühlenhoff Jan 30 '13 at 12:08
    
I also had a similar problem which had several different solutions, one of which may help: superuser.com/questions/229563/… –  glenneroo Feb 5 '13 at 19:39

1 Answer 1

up vote 8 down vote accepted

If you are definitely not concerned with the contents of the folder in question, running a chkdsk on the volume may end up being a quick fix for you, especially if there are indeed behind-the-scenes problems that may need fixing too:

chkdsk f: /f /v (the /v so you can see what's going on + you could always run it without the /f in read-only mode first to see if it actually finds anything wrong to fix)

Note - there is always the chance that running a chkdsk can screw your data up so always ensure that you have a backup.

share|improve this answer
    
That worked and restored the "file contents" to "F:\found.000\file0000.chk", etc. –  Jens Mühlenhoff Jan 30 '13 at 12:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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