Guys and Gals,

 

I’ve been unsuccessful in creating  a working batch file. I’ve Googled and searched the ClamAV list but only found one incomplete sample…

 

Can someone share a Windows batch file or PowerShell script that does the following:

 

When ran, recursively scans a particular directory, moves any infected files to another directory and emails an alert if a virus is detected. The email alert should contain info about the infected file(s) including the path.

 

Keeping fingers crossed :-)

 

Thanks,

 

Jeff

 

--