Generate a relative path from two physical paths
Posted on 2004-03-27
How can I get the relative path for a file from another physical path?
ie if I have one physical path of e:\1lg.com\htdocs\newspages and a second physical path of e:\1lg.com\htdocs\images\news\129\test.jpg how can I get the path of the file relative to the first path? I need a vbscript function I can call, supplying the two paths which returns the relative path for the file.