# Function Reference

# _WinAPI_SetCurrentDirectory

Changes the current directory for the current process

#include <WinAPIFiles.au3>
_WinAPI_SetCurrentDirectory ( $sDir )

## Parameters

$sDir | The path to the new current directory.

## Return Value

Success: | True.
Failure: | False, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search SetCurrentDirectory in MSDN Library.