Batch file automated a clean-up job, then fouled itself by deleting the wrong directory

It survived testing and the boss signed off, so who was really to blame?