Delete a directory with pipe (|) in its name?

Posted by Dave Jarvis on Server Fault See other posts from Server Fault or by Dave Jarvis
Published on 2010-03-28T23:57:48Z Indexed on 2010/03/31 2:03 UTC
Read the original article Hit count: 487

Filed under:
|
|
|
|

Without booting to Linux, how do you delete a directory that was created in Linux on an NTFS partition that contains a pipe in the file name?

For example:

f:\flac\foreign\Yoshida_Brothers\Best_of_Yoshida_Brothers_|_Tsugaru_Shamisen

Tried and failed:

  • Midnight Commander
  • Recursively deleting the parent folder
  • del /f /s /q Yoshida_Brothers
  • del /f /s /q "\\?f:\flac\foreign\Yoshida_Brothers\"
  • rmdir /s Yoshida_Brothers
  • rmdir Best*
  • FileASSASSIN
  • Cannot delete folder

Other ideas?

© Server Fault or respective owner

Related posts about directory

Related posts about folder