Function Reference


Parses a path to determine if it is a directory root

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


$sFilePath The path to be validated.

Return Value

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.

See Also

Search PathIsRoot in MSDN Library.