DeleteDirFilesEx
bool DeleteDirFilesEx( string path );
The function recursively deletes the directory or file specified. Returns true on success. .
Function parameters
Parameter | Description |
---|---|
path | Path to the directory or file which is to be deleted, relative to the root. |
See Also
Examples of use
<? // delete directory /temp1/ and all its content DeleteDirFilesEx("/temp1"); ?>
© «Bitrix24», 2001-2024