# AG\_GETSHELLPATH > [HTML Version](ag_getshellpath.htm) _Reviewed and revised December 2023_ **tab(-10, AG\_GETSHELLPATH); csidl; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md) AG\_GETSHELLPATH (71) retrieves the physical directory path corresponding to a logical Windows directory identified by its CSIDL identifier. This function has both a [subroutine and a print tab implementation](subroutine-print-pairs.htm.md). **Parameters** _csidl_ One of the defined [CSIDL\_xxx identifiers](csidl_xxxidentifiers.htm.md) **Response** Folder path corresponding to the _csidl_ identifier, followed by carriage return: folder **Example** \++include ashinc:csidl.def \! include CSIDL\_xxx definitions ? tab(-10, AG\_GETSHELLPATH); CSIDL\_APPDATA; chr(127); \! (26) input "", folder\$ ? folder\$ \! C:\\Users\\jack\\AppData\\Roaming **See Also** • [MX\_GETSHELLPATH](mx_getshellpath.htm.md)[xs](keyword-types.htm.md)