I've got a rather large number of files on my windows drive that have a colon in their name. (These came from unpacking some unix archives.) When I try to delete them, windows (XP) complains that the file does not exist, and refuses to delete it. This happens when trying to delete or rename it from explorer or the command line. Still, chkdsk does not complain about those files nor fix the problem. Any ideas how to get rid of them?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
You may be able to use this syntax (per Microsoft KB 320081):
See also this serverfault question on the same topic, "delete file containing invalid characters in windows". I think the old "ntfsdos" sysinternals utilities could remove/rename these files as well, but these are no longer available post-MS acquisition. |
||||
|
|
Another alternate that you may want to try is to bring in CygWin, a bash shell for windows. This would allow you to apply UNIX commands to your DOS folders. |
|||||||||||
|
|
You should be able to delete them using the same OS and/or application that you used to create them. |
|||||||||||||
|