CygpathFunctions.

GetDosPath(string) Method

Summary

Gets the DOS (short) form of the specified path.
Assembly
NAnt.Win32.dll
Namespace
NAnt.Win32.Functions
Containing Type
CygpathFunctions

Syntax

[Function("get-dos-path")]
public string GetDosPath(string path)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
path string The path to convert.

Return Value

Type Description
string The DOS (short) form of the specified path.