Skip to main content

GetFolderPath - script function

The GetFolderPath function returns the value of the Microsoft WindowsSHGetFolderPath function and returns the path. For example, MyMusic. Note that the function does not use the spaces seen in Windows Explorer.

Information noteThis function is not supported in standard mode. See File system access restriction

Syntax:  

GetFolderPath()

Examples:  

This script loads three common folder paths in a table.

LOAD GetFolderPath('Music') as MyMusic, GetFolderPath('MyPictures') as MyPictures, GetFolderPath('Windows') as Windows AutoGenerate 1;

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!