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 ) |
$sPath1 | Path to compare |
$sPath2 | Path to compare |
boolean value | True if paths are the same |
If _FileComparePaths( "c:\documents\", "C:\Documents" ) Then ConsoleWrite("Same path") ; "Same path" is printed to console