Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“deleteEmptyDir.zip”, 3.4K)
Download Sample (“deleteEmptyDir.dmg”, 61.3K)


deleteEmptyDir and listEmptyDir identify all empty directories on a specified volume. If the tool is named deleteEmptyDir, the directories will be removed. This purpose of this snippet is to show how useful the PBCatSearch call is. Requires: System 7.0 Keywords: PBCatSearch, MPW tool

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.