The Directory Rebuild program builds new QDIR files for the selected Comet directory. Right-click on the directory's name in Comet Explorer and select "Rebuild directory...".