On 28 January 2023 16:07:04 Richard Rosner via clamav-users <clamav-users@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