# cygpath::get-dos-path

[This is preliminary documentation and subject to change.]

Gets the DOS (short) form of the specified path.

### Usage

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

### Parameters

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

### Return Value

The DOS (short) 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 short form.

### Requirements

Assembly: NAnt.Win32Tasks (0.91.3881.0)