Boost logo

Boost Users :

From: Hermann Rodrigues (hermann.rodrigues_at_[hidden])
Date: 2005-10-31 18:12:38


Hi,

I was looking for a portable solution. That is why I was trying to use
the boost::filesystem library. But I will accept your sugestion and
use PathRelativePathTo for now.

Thanks,

Hermann

On 10/31/05, Gottlob Frege <gottlobfrege_at_[hidden]> wrote:
>
> > Date: Mon, 31 Oct 2005 09:55:57 -0300
> > From: Hermann Rodrigues < hermann.rodrigues_at_[hidden]>
> > Subject: [Boost-users] Translating an absolute path to a path relative
> > to the current directory
> > To: boost-users_at_[hidden]
> > Message-ID:
> >
> <497dfc460510310455j1bd56615peffd2f6040fe849e_at_[hidden]>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi,
> >
> > I am running into the following problem these days:
> >
> > I need to translate an absolute path to a path relative to the current
> > directory on Windows. The translation process need to include all
> > required ".." directory specifiers in the path to make sure it can be
> > accessed from the current directory.
> >
> >
>
> Have you tried the Windows functions such as PathRelativePathTo, and its
> compliment PathCombine?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net