_FileComparePaths

Returns true if (url) paths in given parameters are the same (case-insensitive comparison, last slash-insensitive)

#include "String and File String.au3"
_FileComparePaths( $sPath1, $sPath2 )

parameters

$sPath1 Path to compare
$sPath2 Path to compare

return value

boolean value True if paths are the same

related

_FilePath

examples

If _FileComparePaths( "c:\documents\", "C:\Documents" ) Then ConsoleWrite("Same path") ; "Same path" is printed to console