函数参考


_WinAPI_RemoveDirectory

Deletes an existing empty directory.

#Include <WinAPIEx.au3>
_WinAPI_RemoveDirectory ( $sPath )

参数

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

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

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.

相关

详情参考

在MSDN中搜索