How to Add Exclusions

Open task settings and go to the 'Exceptions tab', you can add a full path, file name, part of a file name, extension or a regular expression:
.
add exclusions
.