新しいマシンにマップされた新しいファイル パスを返します。 このコマンドでは、一般的な「\\」文字以外の区切り文字が含まれたパスを指定することもできます。
古いファイル パス(文字列値)
パスの区切り文字(文字列値)
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*/
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|