【发布时间】:2012-09-10 16:58:20
【问题描述】:
我尝试使用此线程中的建议无济于事:How to use copyfile when there are spaces in the directory name?。需要明确的是,我正在使用的目录已经在双引号中,并且我尝试转义空格,但仍然得到相同的错误。这是我收到的错误消息:
Error: Failed to open PDF file:
C:/Documents
Error: Failed to open PDF file:
and
Error: Failed to open PDF file:
Settings/cpengelly/My
Error: Failed to open PDF file:
Documents/Dropbox/theproject/tmp/working/main
Error: Failed to open PDF file:
pdf.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
这是怎么回事?
【问题讨论】:
-
可能是一些来源或其他东西。你试过逃离这个空间吗?
-
是的,试过了,还是一样的错误。
标签: ruby windows directory cp fileutils