Returns the new File path that is mapped to the new computer. The command also can take paths which have different delimiters than the common \\ character.
The old File path (string value)
The path delimiter (string value)
GetMappedPath( <old File path>, [<path delimiter>] );
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.
|
|