Compares two paths to determine if they have a common root component
#include <WinAPIShPath.au3>
_WinAPI_PathIsSameRoot ( $sPath1, $sPath2 )
| $sPath1 | The first path to be compared. |
| $sPath2 | The second path to be compared. |
| True: | both strings have the same root component. |
| False: | both strings does not have the same root component. |
Search PathIsSameRoot in MSDN Library.