# cygpath::get-windows-path

[This is preliminary documentation and subject to change.]

Gets the Windows form of the specified path.

### Usage

`string cygpath::get-windows-path(path)`

### Parameters

Name | Type | Description
--- | --- | ---
path | string | The path to convert.

### Return Value

The Windows form of the specified path.

### Exceptions

The function will fail in any of the following circumstances:

- `cygpath` could not be started.
- path could not be converted to a Windows form.

### Requirements

Assembly: NAnt.Win32Tasks (0.91.3881.0)