Creates a new directory with the attributes of a specified template directory.
#Include <WinAPIEx.au3>
_WinAPI_CreateDirectoryEx ( $sNewDir, $sTemplateDir [, $tSecurity] )
$sNewDir | The path of the directory to be created. |
$sTemplateDir | The path of the directory to use as a template when creating the new directory. |
$tSecurity | [可选参数] $tagSECURITY_ATTRIBUTES structure that specifies a security descriptor for the new directory. If this parameter is 0, the directory gets a default security descriptor. The ACL in the default security descriptor for a directory are inherited from its parent directory. |
成功: | 返回 1. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索