|
-
July 14th, 1999, 02:50 AM
#1
How to obtain Relative path from Absolute path?
Hi,
How do I obtain the relative path (e.g. "..\..\Test.tmp" ) from the absolute path ( "C:\Test.tmp" ) with respect to a directory (e.g. C:\Temp2\Dir2 )? This should work irrespective of where the file Test.tmp is stored.
Do you have any sample code which could help me do this?
Any help would be greatly appreciated.
Thanks and Regards,
SN
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|