# GetFolderPath 스크립트 함수

GetFolderPath 함수는 Microsoft Windows SHGetFolderPath 함수의 값을 반환합니다. 이 함수는 Microsoft Windows 폴더의 이름을 입력으로 사용하여 이 폴더의 전체 경로를 반환합니다.

정보 메모표준 모드에서는 이 기능이 지원되지 않습니다. [파일 시스템 액세스 제한](https://help.qlik.com/ko-KR/sense/May2026/Subsystems/Hub/Content/Sense_Hub/LoadData/file-system-access-restriction.htm)를 참조하십시오.

GetFolderPath(foldername)

인수

| 인수 | 설명 |
| --- | --- |
| foldername | Microsoft Windows 폴더의 이름.<br><br>폴더 이름에는 어떠한 공백도 포함되지 않아야 합니다.Windows<br>Explorer에 표시되는 폴더 이름에 포함된 모든 공백은 해당 폴더 이름에서 제거되어야 합니다.<br><br>예:<br><br>MyMusic<br><br>MyDocuments |

이 예는 Microsoft Windows 폴더인 MyMusic, MyPictures 및 Windows의 경로를 얻는 것이 목적입니다.이 예제 스크립트를 애플리케이션에 추가하고 다시 로드하십시오.

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

애플리케이션을 다시 로드하면 MyMusic, MyPictures 및 Windows 필드가 데이터 모델에 추가됩니다.각 필드에는 입력에 정의된 폴더의 경로가 포함됩니다.예:

* C:\Users\smu\Music for the folder MyMusic
* C:\Users\smu\Pictures for the folder MyPictures
* C:\Windows for the folder Windows