Announcement

Collapse
No announcement yet.

文件夹名中有中文双引号

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • kuiwu_cn
    started a topic 文件夹名中有中文双引号

    文件夹名中有中文双引号

    使用脚本进行比较时,如果文件夹名中有中文双引号,会被识别为英文双引号,这样脚本会执行失败,因为找不到 路径。

  • Aaron
    replied
    Thanks. As a follow-up, the current behavior is intentional to handle various text editors that can insert either quote type while typing a regular quote. Both quotes are treated as " for scripting purposes, to help surround and handle whitespace. This causes the invalid paths as the quotes are removed from the scripted parameters.

    Is it possible to update your paths and remove the quote characters? Almost any other valid path character would be ok, including single quote '.

    Leave a comment:


  • Aaron
    replied
    Thanks for the report. I've reproduced this behavior and I'll open a tracker entry to investigate.

    Leave a comment:


  • kuiwu_cn
    replied
    这是错误信息:
    Attached Files

    Leave a comment:


  • kuiwu_cn
    replied
    这是脚本:
    Attached Files

    Leave a comment:


  • kuiwu_cn
    replied
    这是文件夹:
    Attached Files

    Leave a comment:


  • kuiwu_cn
    replied
    Chinese double quotation marks:
    English double quotation marks:" "

    Leave a comment:


  • kuiwu_cn
    replied
    When comparing with scripts, if there are Chinese double quotation marks in the folder name, it will be recognized as English double quotation marks, so the script will fail to execute because the path can not be found.

    Leave a comment:

Working...
X