Displays a dialog box from which you can select a directory for use with subsequent commands.

Syntax

GETDIRECTORY([<directory expC>])

<directory expC>

The initial directory to appear in the dialog box. If <directory expC> is omitted, the current directory appears as the initial directory.

Description

Use GETDIRECTORY( ) to return a directory name for use in subsequent commands.

GETDIRECTORY( ) does not return a final backslash at the end of the directory name it returns. GETDIRECTORY( ) returns an empty string if the user clicks Cancel or presses Esc.