file.setPath
| Syntax |
file.setPath (path)
|
| Params |
path is a legal path name to the folder to which you wish to set Frontier's current default path. All subsequent partial paths start in this folder.
|
| Action |
Sets Frontier's current default path.
|
| Returns |
True if the path is reset, false otherwise.
|
| Examples |
file.setPath ("C:\\"); file.exists ("Unzipped") » true
file.setPath ("D:\\"); file.exists ("Unzipped")
file.setPath ("Boston:"); file.exists ("No Status Center")
origPath = file.getPath ();
The Frontier About Window shows the result of determining if the file "Finder" exists (which should be true). This demonstrates the use of file.getPath to save the current default path before changing it temporarily.
|
| Notes |
The path must be a folder or a disk volume. The primary purpose of this verb is to facilitate the convenient use of partial paths by setting up most of the path name as the default.
|
| See Also |
file.getPath
|