Skip to content

Instantly share code, notes, and snippets.

@tassoman
tassoman / RunClamScanOnFile.bat
Last active October 15, 2025 13:21
A simple ClamAV integration with Windows
@echo off
:: Released (CC-BY-SA-NC) https://gist.github.com/tassoman/a3e6fbbbc0e69aa4e56610429d0cb3c6
if "%~1"=="" (
echo Please provide a File to scan.
exit /b
)
"C:\Program Files\ClamAV\clamscan.exe" "%~1"