GetFolderPath - script function
The GetFolderPath function returns the value of the
Syntax:
GetFolderPath(foldername)
Arguments:
Argument | Description |
---|---|
foldername |
Name of the The folder name should not contain any space. Any space in the folder name seen in Examples: MyMusic MyDocuments |
Examples and results:
The goal of this example is to get the paths of the following
Once the app is reloaded, the fields MyMusic, MyPictures and Windows are added to the data model. Each field contains the path to the folder defined in input. For example:
- C:\Users\smu\Music for the folder MyMusic
- C:\Users\smu\Pictures for the folder MyPictures
- C:\Windows for the folder Windows