Function Reference


_WinAPI_CreateDirectory

Creates a new directory

#include <WinAPIFiles.au3>
_WinAPI_CreateDirectory ( $sDir [, $tSecurity = 0] )

Parameters

$sDir The path of the directory to be created.
$tSecurity [optional] $tagSECURITY_ATTRIBUTES structure that specifies a security descriptor for the new directory.
If this parameter is 0 (Default), the directory gets a default security descriptor. The ACL in the default security descriptor for a directory are inherited from its parent directory.

Return Value

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

See Also

Search CreateDirectory in MSDN Library.