Quantcast
Viewing latest article 22
Browse Latest Browse All 25

Answer by DavidK for How to get relative path from absolute path

There is a Win32 (C++) function in shlwapi.dll that does exactly what you want: PathRelativePathTo()

I'm not aware of any way to access this from .NET other than to P/Invoke it, though.


Viewing latest article 22
Browse Latest Browse All 25

Trending Articles