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

Examples

chdir("/etc"); println(cwd()); $handle = openf("passwd");

/etc

See Also