changeWorkingDir
changeWorkingDir(
[ S_name ]
)
=> t
Description
Changes the working directory to the specified working directory.
Different error messages are printed if the operation fails because the directory does not exist or you do not have search (execute) permission.
Use this function with care: if “.” is either part of the SKILL path or the libraryPath. Changing the working directory can affect the visibility of SKILL files or design data.
Arguments
Value Returned
|
The function executes successfully. Prints an error message if the directory you tried to change to does not exist. Prints a permission denied message if you do not have search permission. |
Examples
Assume, there is a directory /usr5/design/cpu with appropriate permission and there is no test directory under /usr5/design/cpu.
changeWorkingDir( "/usr5/design/cpu")
=> t
The following example signals an error about a non-existent directory.
changeWorkingDir( "test")
Related Topics
Return to top