On 12.05.2013 11:33, Bart wrote: > My Delphi is very old and does not have the > ExcludeTrailingPathDelimiter function, so I cannot test how Delphi > behaves. Tested with Delphi XE: ExcludeTrailingPathDelimiter('C:\') will also return 'C:' Regards, Sven