Changes the current drive or directory.

Syntax

SET DIRECTORY TO [<path>]

<path>

The new drive and/or path. Quotes (single or double) are required if the path contains spaces or other special characters; optional otherwise.

Description

SET DIRECTORY works like CD, except SET DIRECTORY TO (with no argument) returns you to the HOME( ) directory, while CD with no argument displays the current directory.

To get the current directory, use SET("DIRECTORY").