[clamav-users] clamscan exclude-dir on Windows

Steve Basford steveb_clamav at sanesecurity.com
Sat Jan 28 20:47:40 UTC 2023


On 28 January 2023 16:07:04 Richard Rosner via clamav-users 
<clamav-users at lists.clamav.net> wrote:
> Very interesting to know. Sadly that doesn't help. I added 
> --exclude-dir="C:\\PROGRA~2\\" --exclude-dir="C:\\PROGRA~1\\" and tried 
> running in both PowerShell and CMD, no success, it always ends up scanning 
> Program Files.
>
> Richard

Hi,

How about...

 --exclude-dir="c:\\program files"



Cheers,

Steve
SaneSecurity.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20230128/5798cb91/attachment.htm>


More information about the clamav-users mailing list