# AG\_BROWSEFOLDER > [HTML Version](ag_browsefolder.htm) _Reviewed and revised December 2023_ **tab(-10, AG\_BROWSEFOLDER); folder, rootID, title, flags; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md) 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](subroutine-print-pairs.htm.md). **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](csidl_xxxidentifiers.htm.md)), above which the user would not be able to navigate. _title_ Title for the dialog box _flags_ See [MX\_BROWSEFOLDER](mx_browsefolder.htm.md)[xs](keyword-types.htm.md) for flags definitions. **Response** Selected folder (complete path) followed by a carriage return: _folder_