C++ Builder
Published in

C++ Builder

How To Extract A Relative Path From Path Strings on Windows

C++ Builder has specific Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions, .. etc and these methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These path manipulation methods are easy to use and easy to get or set file path strings in that operating system. These can be used with other component properties like FileName property of OpenDialog, SaveDialog components.

Let’s see how we can use ExtractRelativePath Method to extract a Realtive Path from the two path Strings on Windows. Please read full article here below,

https://learncplusplus.org/how-to-extract-a-relative-path-from-path-strings-on-windows/

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yilmaz Yoru

Yilmaz Yoru

19 Followers

Mechanical Engineer (MSc PhD), Developer, Founder of Esenja Company, Embarcadero C++ Builder MVP