当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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?