Parameters & Returns
Parameters
Returns
Quick Summary
Creates a new hidden directory.
Takes a directory path (absolute or relative).
Returns 1 on success, 0 on failure.
Technical Exegesis...
Creates a new directory at the specified path and sets the FILE_ATTRIBUTE_HIDDEN attribute on Windows. Returns 1 on success, 0 on failure.
If directory creation succeeds but setting the hidden attribute fails, the function attempts to remove the directory and returns 0. The path can be absolute or relative. Does not create parent directories automatically.