Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Mac 上将(文本)文件导入 maple。
根据所有可用信息,该命令的格式应为
阅读“MacIntosh HD/Programme/myfile”
但我没有成功。
我尝试了各种变体,斜线/反斜线,斜线开头,开头有和没有 Mac HD,系统目录的本地语言和英文名称。
我总是得到
错误,无法读取pathname I entered。
pathname I entered
我会满足于任何解决方案,无论是语法还是默认的 maple 目录,我都可以在其中放置文件,而不必担心路径或是否存在具有相同效果的菜单项。
与此同时,我自己找到了答案:
对于上面的示例,请阅读“/Applications/myfile”;
会成功,因此特别是必须使用系统目录的英文名称,即使在 finder 中它们只以您为帐户选择的语言提供。
此外,currentdir() 和 currentdir("Applications/Maple 15") 分别允许您查看当前目录并对其进行更改。