API Reference > ZipUtils Namespace > Functions > ZipUtils::removeDir Function
ZipUtils::removeDir Function
Syntax
C++
int removeDir(const OdString & dir);

ZipUtils.h

Parameters 
Description 
const OdString & dir 
[in] A string containing path to new directory.  

Returns 0 if directory was successfully removed; otherwise, the method returns an appropriate error.

Removes directory.

The function removes all files from directory and recursively removes all subdirectories.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.