directory::get-directory-root

Returns the volume information, root information, or both for the specified path.

Usage

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.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.4312.0)