Returns the new File path mapped to the new machine. The command also has the ability to 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 © 2013 CA.
All rights reserved.
|
|