Does it have to be a batch file? Python could do it, fairly easily.

From: clamav-users <[email protected]> on behalf of Jeff 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>, ClamAV users ML 
<[email protected]>
Date: Monday, September 17, 2018 at 9:44 PM
To: "[email protected]" <[email protected]>
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
[email protected]
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

Reply via email to