Hi, Does anyone know of some RunRev code that will take two absolute file paths and return the relative path? e.g. Frm PathA = /documents/Folder1/Folder2 PathB = /documents/Folder3/Folder4 Produce PathB, which in this case would be: ../../Folder1/Folder4 Thanks a lot All the Best Dave