Please enable JavaScript to view this site.

Navigation: 脚本 > 脚本详情

设置默认驱动器和文件夹

Scroll Prev Top Next More

命令

SetPath [“drive and folder path”]

 

说明

所有读写文件的命令都使用 SetPath 命令中设置的路径,除非在其他命令中指定了不同的驱动器或文件夹。对于 Windows,请使用以下本示例:

SetPath “C:\Users\(current user)\Documents\007\goldfinger\oddjob”

SetPath “(local drive):\DataFiles\August2005\”

SetPath “\\LabServer\DDrive\PrismFiles"

最后一个本示例在另一台名为 "LabServer "的计算机上打开一个文件。本示例中不使用硬盘的 "C: "符号,而是使用驱动器的名称(本示例中为 "DDrive")。

在 Mac 上,使用如下格式:

SetPath “Hard Drive:Prism 4:Data:June21”.

如果希望在每条命令中指定路径,仍可使用如上所示的相同格式。

 

 

© 1995-2019 GraphPad Software, LLC. All rights reserved.