How to detect virus just opening a folder ?

I´d like to know how can I configure the ADNM to make the managed avast! to detect a virus in a moment that I open a folder with a lot of infected files inside.

The managed detect the víruses only if I ask to scan.

Thanx.