SWI-Prolog Did You Know Did you know? Jan loves it when you Report Bugs Search Documentation:
Predicate delete_directory_and_contents/1