The Wiert Corner – A while ago, I needed routines to work with absolute and relative paths. These links were very useful: The Delphi TPath.IsDriveRooted function (I think it was introduced in Delphi 2010) serves as a IsPathAbsolute function Conversion between absolute and relative paths in Delphi – Stack Overflow showing how to use the Windows API functions PathRelativePathTo and PathCanonicalize functions declared in the ShLwApi unit to create AbsToRel and RelToAbs functions. Thanks Andreas Rejbrand and David Heffernan for the last two! –jeroen via: Conversion between absolute and relative paths ...
Visits by Source
Users who voted for this posting