# Function Reference

# _WinAPI_PathIsRoot

Parses a path to determine if it is a directory root

#include <WinAPIShPath.au3>
_WinAPI_PathIsRoot ( $sFilePath )

## Parameters

$sFilePath | The path to be validated.

## Return Value

True: | the path is a root.
False: | the path is not a root.

## Remarks

Returns True for paths such as "\", "X:\" or "\\server\share". Paths such as "..\path2" or "\\server\" return False.

## See Also

Search PathIsRoot in MSDN Library.