Relative file paths
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Are there any built in .NET functions for dealing with relative file paths? Specifically: if I have two absolute file paths:
string fileNameA; string fileNameB;
and I want to change fileNameB to be relative to fileNameA. Is there any way to do this with .NET, or should I just roll my own? Even just a way to tell fileOpenDialogs to return string names relative to the current working directory would be helpful. Thanks Dave