Subject: [Boost-users] [filesystem] Extracting a relative path.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-07-13 07:05:57


Hi All

I'm trying to understand how to determine the relative path of one absolute
path to
another.

So,

c:\a\b\c.d

relative to

c:\a

and I'd like the answer to be

b\c.d

I thought this would be easy to do, but I can't see how.

Any thoughts?

Thanks, Rob.