Also, try using a larger buffer size. The function returns successfully if the buffer is too small without placing any results in the buffer. At several dir levels down, you're probably exceeding the 50 byte size specified. Roger