NAnt SDK Documentation - v0.92

CygpathFunctions.GetWindowsPath Method 

Gets the Windows form of the specified path.

[Visual Basic]
<Function(Name:="get-windows-path")>
Public Function GetWindowsPath( _
   ByVal path As String _
) As String
[C#]
[Function(Name="get-windows-path")]
public string GetWindowsPath(
   string path
);

Parameters

path
The path to convert.

Return Value

The Windows form of the specified path.

Exceptions

Exception Type Condition
Win32Exception cygpath could not be started.
ArgumentException path could not be converted to a Windows form.

See Also

CygpathFunctions Class | NAnt.Win32.Functions Namespace