Take Command / TCC Help v. 13.03

@GETDIR

Hide Navigation Pane

@GETDIR

Previous topic Next topic No directory for this topic No expanding text in this topic  

@GETDIR

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@GETDIR[d:\path[,title]] : Pops up a dialog box to select a directory. d:\path specifies the initial directory; if it is not specified, @GETDIR defaults to the current directory. Returns the chosen directory as a string, or an empty string if the user selects "Cancel" or presses Esc.

 

d:\path must be in quotes if it contains white space or special characters. On an LFN drive, the returned path may contain white space or other special characters. To avoid problems which could be caused by these characters, quote the returned path before you pass it to other commands. See the notes under Variable Functions for additional details.

 

@GETDIR accepts an optional second parameter to set the title of the dialog box.

 

Examples:

 

cdd %@getdir["C:\program Files"]

%@getdir[]\

 

Note: @GETDIR deals with directories. All directories are folders, but not all folders are directories. To select a symbolic folder, see @GETFOLDER.

Comments (...)