directory::get-directory-root

Returns the volume information, root information, or both for the specified path.
string directory::get-directory-root(path)

Parameters

Name Type Description
path string The path for which to retrieve the parent directory.

Return Value

A string containing the volume information, root information, or both for the specified path.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions