Discussion Locked

delete a directory ending in period

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I only solved this by wiping the disk. On UNIX I made a cpio file of nested directories that broke a long name into 14 character chunks, with the remainder the real file in a series of directories of the name chunks. Some directories ended in a period. Using pax to restore the cpio image on win2k, I got directory names ending in period. I could not delete them. Windows explorer could not open them. Command shell could not delete or rmdir them, even with partial name matches, like rmidr XXX*. I had a C program try to remove them and fail. Did I miss something, or were these so illegal the windows file system could not deal with them. No one I ever showed them to could remove them. How was pax able to create them in the first place?

Thank you in advance.

3 replies

by amberhaze

Not certain, but I did run into a similar situation once. In my case it turned out the files / folders were created with an invalid owner flag. The remedy was to select the root folder and force ownership to administrator... I was then able to work with the files.

Hope this helps in your situation

by djh02139

I have WinXP. Ended up with a folder ending in TWO periods! I think this happened when an application tried to create such a directory. So the Windows API must allow someone to try to do this. Like said above, no amount of tweaking through Explorer GUI or command prompt can remove...

This discussion is closed to new replies.