acet::normalize-filename


(BricsCAD-specific !)

(acet::normalize-filename  fileName)

This function replaces the "\\" respectively "/" characters in the fileName(string)  by the path delimiter of the actual OS/Platform.
As Windows accepts both path delimiters, no replacement is made under Windows;
but path delimiter effectively happens on Linux and Mac.

Therefore, Lisp application code can safely use this function on all platforms, the returned file name is always suitable for the running OS/Platform.

Returns normalised file name as string.


©  Bricsys NV. All rights reserved.