I wanted ClamWin portable, so I followed this: https://www.clamwin.com/content/view/118/89/ https://www.clamwin.com/content/view/118/89/
I also wanted drag and drop scanning. Do this: Make a new script named ClamWin.cmd with the code below. ClamWin.cmd should be in the root of the ClamWin folder at the same level as bin, db, log, etc. You can either click the script to launch ClamWin as usual or drag and drop a single file or folder on it to be scanned.
@Echo Off
Setlocal EnableExtensions
If "%~1" NEQ "" Set ClamWinArg=--mode=scanner --path=%1
Start /D"%~dp0bin" ClamWin.exe %ClamWinArg%
|