본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Commandline: attaching files containing commas in the path

  • 2 답장
  • 2 이 문제를 만남
  • 31 보기
  • 최종 답변자: Yourez

more options

Trying to attach files via command line (Windows 10): >Thunderbird -compose "attachment='C:\TEMP\one.txt'" Works well.

Trying to attach files with comma in filename: >Thunderbird -compose "attachment='C:\TEMP\one, two.txt'" Causes error like "File C:\TEMP\one doesn't exists, therefore can't be attached" (translated from Russian).

TB uses comma to separate filenames/paths for each attachment, but comma in filename causses problem. How to solve this problem?

Trying to attach files via command line (Windows 10): >Thunderbird -compose "attachment='C:\TEMP\one.txt'" Works well. Trying to attach files with comma in filename: >Thunderbird -compose "attachment='C:\TEMP\one, two.txt'" Causes error like "File C:\TEMP\one doesn't exists, therefore can't be attached" (translated from Russian). TB uses comma to separate filenames/paths for each attachment, but comma in filename causses problem. How to solve this problem?

모든 댓글 (2)

more options

located a bug report which seems to be the same issue. https://bugzilla.mozilla.org/show_bug.cgi?id=743579 The info in the bug report may help you.

The ',' character is used to separates multiple attachments and so is causing some confusion when the comma is used within a filename. Try writing the comma ',' as %2C (the hex ASCII encoding of the comma character).

more options

Neighter >Thunderbird -compose "attachment='C:\TEMP\one%2C two.txt'" nor >Thunderbird -compose "attachment='C:\TEMP\one%2C%20two.txt'" don't work for me. Same error.

BTW, how could I attach file like "something%2C.txt"? Will TB recognize %2C as comma code or as part of filename?