이전 항목: GetEngineData다음 항목: GetPlatform


GetMappedPath

GetMappedPath

새 컴퓨터에 매핑된 새 파일 경로를 반환합니다. 이 명령은 또한 일반 \\ 문자와 다른 구분 기호를 가진 경로를 사용할 수 있습니다.

첫 번째 매개 변수:

기존 파일 경로(문자열 값)

두 번째 매개 변수:

경로 구분 기호(문자열 값)

사용법:
GetMappedPath( <기존 파일 경로>, [<경로 구분 기호>] );
예제:
newPath = GetMappedPath("c:\\old path\\file.txt");
/* newPath will equal the new file path.*/		
oldPath = "c:_old path_file.txt";
newPath = GetMappedPath( oldPath, "_" );
/* newPath will equal the new file path with the delimiter*/
/* for example newPath could equal e:_new path_file.txt*/