Function Reference


_WinAPI_RemoveDirectory

Show description in

Deletes an existing empty directory

#include <WinAPIFiles.au3>
_WinAPI_RemoveDirectory ( $sDirPath )

Parameters

$sDirPath The path of the empty directory to be removed.

Return Value

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

Remarks

The _WinAPI_RemoveDirectory() function marks a directory for deletion on close. Therefore, the directory is
not removed until the last handle to the directory is closed.

See Also

Search RemoveDirectory in MSDN Library.