This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Description
Excluding a single directory from the scan works fine with below command:
Log4jScanner.exe /scan /exclude_directory "C:\$Recycle.Bin\"
However when I try to exclude multiple directories from the scan, it fails:
Log4jScanner.exe /scan /exclude_directory "C:\$Recycle.Bin\" /exclude_directory "C:\Users\"
In the latter case, the C:$Recycle.Bin\ directory is being scanned again as well as the C:\Users\ directory.
It would be very helpful to exclude multiple directories from the scan as the recycle bin from different volumes would need to be excluded as well as the users home directories.
Thanks in advance!