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 ...
More...