SETCURDIR
Syntax SETCURDIR name 
Explanation SETCURDIR changes the current directory to the directory given as its input.

See also CURDIR.

Examples SETCURDIR "Toolbox 
CURDIR 
Result: /Terrapin Logo/TOOLBOX

The following two procedures allow you to switch to a new directory and switch back to the old directory.

TO CHDIR :NAME
     MAKE "OLD.DIR CURDIR 
     SETCURDIR :NAME 
END

CHDIR defined
TO CHBACK
     SETCURDIR :OLD.DIR
END
CHBACK defined
CHDIR "data 

CHBACK 
Result: /Terrapin Logo 

TopIndex