Absolute to Relative Path
-
There is a method GetFullPath http://msdn.microsoft.com/en-us/library/system.io.path.getfullpath.aspx[^] that converts relative to full absolute path. Does there any method exist that converts an absolute path to relative path.
Thanks, Mushq
-
There is a method GetFullPath http://msdn.microsoft.com/en-us/library/system.io.path.getfullpath.aspx[^] that converts relative to full absolute path. Does there any method exist that converts an absolute path to relative path.
Thanks, Mushq
relative to what ? No.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
There is a method GetFullPath http://msdn.microsoft.com/en-us/library/system.io.path.getfullpath.aspx[^] that converts relative to full absolute path. Does there any method exist that converts an absolute path to relative path.
Thanks, Mushq
Unfortunatly .Net seems to have an ugly gap here. but others have had this problem before, and you may get an idea here: http://mrpmorris.blogspot.com/2007/05/convert-absolute-path-to-relative-path.html
-
Unfortunatly .Net seems to have an ugly gap here. but others have had this problem before, and you may get an idea here: http://mrpmorris.blogspot.com/2007/05/convert-absolute-path-to-relative-path.html
Sorry for the delayed reply but thank you very much for the useful answer. :)
Kind Regards, Mushq