Wednesday, December 09, 2009
Deleting Irritating Files on Windows XP
Having taken a look at the CRU FOI2009.zip archive, I found two irritating files that I could not delete. These were flxlist. and sfwxlist. in the FOIA/documents/yamal folder. These have something to do with paleoclimatology - a field which most of the interweb now knows well.
Windows XP happily gave me a baffling 'Cannot delete file: Cannot read from source file or disk.' message box. (As helpful as usual).
The solution to this problem is to prepend \\? to the file name that you are about to delete (using cmd.exe, of course, there is no known solution from the graphical interface). E.g.
The magic \\? switches off some form of Windows XP file name sanity checking, allowing you delete files which Windows XP thinks do not have valid names (although, of course, Windows XP did allow the creation of the files in the first place). Problem solved!
Newer Posts
Older Posts
Windows XP happily gave me a baffling 'Cannot delete file: Cannot read from source file or disk.' message box. (As helpful as usual).
The solution to this problem is to prepend \\? to the file name that you are about to delete (using cmd.exe, of course, there is no known solution from the graphical interface). E.g.
del "\\?\C:\Documents and Settings\User\Desktop\FOIA\documents\yamal\flxlist."
The magic \\? switches off some form of Windows XP file name sanity checking, allowing you delete files which Windows XP thinks do not have valid names (although, of course, Windows XP did allow the creation of the files in the first place). Problem solved!

