4

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?

Dave Jarvis
  • 235
  • 2
  • 10

1 Answers1

5

Substituting the single-character wildcard ? for the pipe character should work:

del f:\flac\foreign\Yoshida_Brothers\Best_of_Yoshida_Brothers_?_Tsugaru_Shamisen
Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148