UDF > WinAPIEx > ShellPath >


_WinAPI_PathIsSameRoot

Détermine si deux chemins ont un composant racine commun

#include <WinAPIShPath.au3>
_WinAPI_PathIsSameRoot ( $sPath1, $sPath2 )

Paramètres

$sPath1 Le premier chemin à comparer.
$sPath2 La deuxième chemin à comparer.

Valeur de retour

True: Les deux chaînes ont le même composant racine.
False: Les deux chaînes ne possèdent pas le même composant racine.

Voir aussi

Consultez PathIsSameRoot dans la librairie MSDN.