# path::get-file-name-without-extension

[This is preliminary documentation and subject to change.]

Returns the filename without extension for the specified path string.

### Usage

`string path::get-file-name-without-extension(path)`

### Parameters

Name | Type | Description
--- | --- | ---
path | string | The path of the file.

### Return Value

A String containing the String returned by path::get-file-name(), minus the last period (.) and all characters following it.

### Exceptions

The function will fail in any of the following circumstances:

- path contains one or more invalid characters.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)