GetFolderPath - 스크립트 함수
GetFolderPath 함수는
참고: 표준 모드에서는 이 기능이 지원되지 않습니다. 참조파일 시스템 액세스 제한
Syntax:
GetFolderPath(foldername)
Arguments:
인수 | 설명 |
---|---|
foldername |
폴더 이름에는 어떠한 공백도 포함되지 않아야 합니다. 따라서 예: MyMusic MyDocuments |
Examples and results:
이 예는
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