NAnt SDK Documentation - v0.92 |

# DirectoryFunctions.GetCurrentDirectory Method

Gets the current working directory.

[Visual Basic]
<Function(Name:="get-current-directory")>
Public Shared Function GetCurrentDirectory() As String
[C#]
[Function(Name="get-current-directory")]
public static string GetCurrentDirectory();

#### Return Value

A String containing the path of the current working directory.

#### See Also

DirectoryFunctions Class | NAnt.Core.Functions Namespace