Function
Sets the working directory for the current process.
working-directory-setter directory => directory
<pathname>.
<pathname>.
system
file-system
Sets the working directory for the current process.
Note that the following calls are equivalent
working-directory() := "C:\USERS\JOHN\FOO.TEXT"; working-directory() := "C:\USERS\JOHN\";
as they will both set the working directory to C:\USERS\JOHN. The call
working-directory() := "C:\USERS\JOHN";
is not equivalent as it sets the working directory to C:\USERS.
working-directory() := "C:\USERS\JOHN\";