ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Portable w\ drag and drop scanning
fearless96


Joined: 06 Jun 2010
Posts: 1
Reply with quote
I wanted ClamWin portable, so I followed this: http://www.clamwin.com/content/view/118/89/ http://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.

Code:
@Echo Off
Setlocal EnableExtensions
If "%~1" NEQ "" Set ClamWinArg=--mode=scanner --path=%1
Start /D"%~dp0bin" ClamWin.exe %ClamWinArg%
View user's profileSend private message
Portable w\ drag and drop scanning
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic