Does it have to be a batch file? Python could do it, fairly easily. From: clamav-users <clamav-users-boun...@lists.clamav.net> on behalf of Jeff <jeffsh...@gmail.com> Reply-To: "jeffsh...@gmail.com" <jeffsh...@gmail.com>, ClamAV users ML <clamav-users@lists.clamav.net> Date: Monday, September 17, 2018 at 9:44 PM To: "clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net> Subject: [clamav-users] Batch file for Windows.
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 --
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml