前のトピック: GetEngineData次のトピック: GetPlatform


GetMappedPath

GetMappedPath

新しいマシンにマップされた新しいファイル パスを返します。 このコマンドでは、一般的な「\\」文字以外の区切り文字が含まれたパスを指定することもできます。

第 1 パラメータ:

古いファイル パス(文字列値)

第 2 パラメータ:

パスの区切り文字(文字列値)

使用方法:
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*/