.. highlightlang:: us .. index:: ComparePath .. _comparepath: ComparePath =========== .. us.tag ComparePath ENGLISH New300 FILE_MISC :ref:`ComparePath` compares two file or folder names. .. function:: bool = ComparePath(ssFilename1, ssFilename2) .. us.return **Return Value** *bool* is TRUE if both names specify the same file. .. us.params **Parameters** .. uparam:: ssFilename1 *ssFilename1* is the first name. .. uparam:: ssFilename2 *ssFilename2* is the second name. .. us.comment **Comment** The function cannot compare an UNC Path (e.g. :file:`\\\\P450\\c\\temp`) with a path beginning with a drive letter. .. seealso:: :ref:`overview-files`, :ref:`DeCompressFile`, :ref:`GetUNCPath`, :ref:`FS_GetFileSystemList` :sub:`id-2099142`