Convert from Absolute to Relative Paths

Dave dave at looktowindward.com
Thu Jun 7 06:51:30 EDT 2007


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




More information about the use-livecode mailing list