Please enable JavaScript to view this site.

Navigation: Scripts > Script details

Setting the default drive and folder

Scroll Prev Top Next More

Commands

SetPath [“drive and folder path”]

 

Explanation

All the commands that read and write files use the path set in the SetPath command unless you specify a different drive or folder in the other commands. For Windows, use these examples:

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

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

SetPath “\\LabServer\DDrive\PrismFiles"

The last example opens a file on another computer named “LabServer”. In this case you don’t use the “C:” notation for hard drives, but rather refer to the name of the drive (“DDrive” in this example.)

On the Mac, use a format like this:

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

If you prefer to specify the path within each individual command, you can still use the same formats as shown above.

 

 

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