Get relative path of one to another
Pass two path strings to this function and it will return the 1st path relative to the second.
Always pass folder strings NEVER file strings
If the folder is a drive like c:\ you have to pass it without a backslash at end.
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com
Linkedin LoginLINKINGFOLDER, LINKEDFOLDER
get_relative_path "C:\My Documents", "C:\Windows\System"
returns ../../My Documents/
returns ../../My Documents/
Views 4,688
Downloads 1,460
CodeID
DB ID
ANmarAmdeen
702
Revisions
v2.0
Thursday
July
19
2018