Funktionreferenz


_WinAPI_ShellCreateDirectory


Creates a new file system folder

#include <WinAPIShellEx.au3>
_WinAPI_ShellCreateDirectory ( $sFilePath [, $hParent = 0 [, $tSecurity = 0]] )

Parameter

$sFilePath The fully qualified path of the directory.
$hParent [optional] A handle to a parent window.
$tSecurity [optional] $tagSECURITY_ATTRIBUTES structure with the directory's security attribute. If this parameter is 0 (Default),
no security attributes are set.

Rückgabewert

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the system error code.

Bemerkungen

If one or more of the intermediate folders do not exist, they are created as well. Also, this function verifies that the
files in the directory will be visible if the path is a network path to deal with network drivers which might have a
limited but unknown maximum path length.

Siehe auch

Suche nach SHCreateDirectoryEx in der MSDN Bibliothek.