.. highlightlang:: us .. index:: path_normalize .. _path_normalize: path_normalize ============== .. us.tag path_normalize ENGLISH New5400 FILE_MISC :ref:`path_normalize` replaces slashes (``/``) in file names to backslashes (``\\``). If the last character is a slash or backslash it will be removed. .. function:: ssReturnFileName = path_normalize(ssFilename) .. us.return **Return Value** *ssReturnFileName* is a filename with backslashes. .. us.params **Parameters** .. uparam:: ssFilename *ssFilename* is a file name where the elements are separated by slashes or backslashes. .. us.example **Example** **Examples** :: * path_normalize("d:/test\\065/") d:\test\065 .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2012 (5.40.0) - New documentation. .. seealso:: :ref:`overview-files`, :ref:`DeCompressFile`, :ref:`GetUNCPath`, :ref:`FS_GetFileSystemList`, :ref:`MakeFullPath` :sub:`id-1670016`