Détermine si deux chemins ont un composant racine commun
#include <WinAPIShPath.au3>
_WinAPI_PathIsSameRoot ( $sPath1, $sPath2 )
| $sPath1 | Le premier chemin à comparer. |
| $sPath2 | La deuxième chemin à comparer. |
| 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. |
Consultez PathIsSameRoot dans la librairie MSDN.