SETCURDIR changes the current directory to the directory given as its input. To change the current disk drive, use SETDISK.
The following two procedures switch to a new directory and switch back to the old directory.
TO CHDIR :NAME
MAKE "OLD.DIR CURDIR