chdir
Synopsis
$ chdir("directory")
changes the current working directory to the specified directory.
Parameters
"directory" - the directory to act as the current working directory
Side Effects / Notes
- Sets the current working directory. This effects &openf, &exec, and all file system bridge operations. &fork also inherits this value.
Examples
chdir("/etc");
println(cwd());
$handle = openf("passwd");
/etc
See Also