Devuelve la nueva ruta de archivo asignada al nuevo equipo. Este comando también tiene la capacidad de aceptar rutas con delimitadores diferentes al carácter usual: \\.
Ruta del archivo antigua (cadena)
Delimitador de la ruta (cadena)
GetMappedPath( <ruta archivo antigua>, [<delimitador ruta>] );
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.
Todos los derechos reservados.
|
|