SETCURDIR

Syntax

SETCURDIR name

Explanation

SETCURDIR changes the current directory to the directory given as its input. To change the current disk drive, use SETDISK.

See also CURDIR, DISK and SETDISK.

Example

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

TO CHDIR :NAME

MAKE "OLD.DIR CURDIR

SETCURDIR :NAME

END

TO CHBACK

SETCURDIR :OLD.DIR

END