Parses a path to determine if it is a directory root
#include <WinAPIShPath.au3>
_WinAPI_PathIsRoot ( $sFilePath )
$sFilePath | The path to be validated. |
True: | the path is a root. |
False: | the path is not a root. |
Returns True for paths such as "\", "X:\" or "\\server\share". Paths such as "..\path2" or "\\server\" return False.
Search PathIsRoot in MSDN Library.