correct param names
Catch exception on Windows when deleting a directory