Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised December 2023

tab(-10, AG_BROWSEFOLDER); folder, rootID, title, flags; chr(127);     Tab(-10,x) Syntax Notes

AG_BROWSEFOLDER (70) invokes a standard Windows dialog allowing the user to browse for and select a folder or other non-file resource such as a computer or device.

This function has both a subroutine and a print tab implementation.

Parameters

folder

Optional default folder. Note even when the rootID parameter is specified, this default folder specification must be absolute (i.e. not relative to the rootID). But it must specify a folder on or below that rootID folder.

rootid

Root folder (using the standard CSIDL_xxx identifiers), above which the user would not be able to navigate.

title

Title for the dialog box

flags

See MX_BROWSEFOLDER for flags definitions.

Response

Selected folder (complete path) followed by a carriage return:

folder <CR>