Thursday, April 12, 2007

MS: How delete a NTFS File or Folder with invalid name

Open a CMD Windows a type:

For files: del "\\?\filename"

Example: del "\\?\c:\files\exchange.txt "

For directories: rd "\\?\folder"

Example: rd "\\?\c:\software\demo "

More info http://support.microsoft.com/kb/320081

No comments: