I need to make a slight correction. It is POSIX, not the C standard, that requires remove() shall remove both files and directories. zw