ChooseDir Function

Opens a dialog box showing a directory tree. Returns path selected by user or an empty string if cancelled. Initial directory shown specified in argument1.

Arguments

Number Type Compulsory Default Description
1 string No Current directory Starting directory
2 string No 'Choose Directory' Dialog box caption
3 string No 'Double-click directory to select' Message

Returns

Return type: string