Please enable JavaScript to view this site.

ASQL Reference

Navigation: » No topics above this level «

AG_GETSHELLPATH

Scroll Prev Top Next More

Reviewed and revised December 2023

tab(-10, AG_GETSHELLPATH); csidl; chr(127);     Tab(-10,x) Syntax Notes

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.

Parameters

csidl

One of the defined CSIDL_xxx identifiers

Response

Folder path corresponding to the csidl identifier, followed by carriage return:

folder <CR>

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