ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Post your guides here
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
Hi All,

We have started a new section on clamwin webiste called http://www.clamwin.com/content/category/4/22/89/ User Guides ( http://www.clamwin.com/content/category/4/22/89/ ) with howto's on different subjects including integration with other programs.

If you have successfully integrated ClamWin with another program - archiver, mail server, etc then please post detailed user guide here preferably in plain English with screenshots (external links) so that everyone would understand it. We will review it and publish on our website with credits to the original writer.

Thanks,
ClamWin Free Antivirus Team
View user's profileSend private message
No Install w/scan on demand
Clammy


Joined: 12 Nov 2009
Posts: 9
Location: socal
Reply with quote
Here is an attempt at a simple guide to run portable clamwin in windows, and never leave it running. I started with batchrun files but realized I didn't need to do everything at once.
At present, I'm using two bat files in my sendto menu. One for files and one for folders.
I have also scheduled an update of every 24 hours using System Scheduler (my task scheduler refuses to create any): http://www.splinterware.com/products/wincron.htm/
Only problem is getting the update to close which I solved with Bill2's ProcessMgr. It can kill any process after 'inactivity' (min) of 1 minute. Manually editing the config.xml I have it at 10 seconds (10000) and it works perfect. It WILL default back to a minute if you open it's rule from bill2's gui.

Using Batchrun (http://batchrun.outertech.com/index.php?_charisma_page=product&id=1), it is possible to execute an update followed by a scan, followed by an output of the scanlog textfile, but I could only figure out how to do it to a specified folder. Daily updating works better for my basic setup. You can add multiple folders to a 'batchrun', but may need to use bill2's inactivity kill feature on each clamwin.exe.

Clamwin (on my pc) has two folders; bin & lib. Bin includes db & quarantine folders but no settings folder.
1-VirusUpdate.bat:
"G:\1-SAVE\3-SECURITY\ClamWin\bin\CLAMWIN.exe" --mode=update --config_file="G:\1-SAVE\3-SECURITY\ClamWin\bin\ClamWin.conf"

2-ScanFolder.bat:
"G:\1-SAVE\3-SECURITY\ClamWin\bin\CLAMWIN.exe" --tempdir "c:\windows\temp" --stdout --database=".\db" --log=".\ClamScanLog.txt" --infected --kill --unload -u --max-files=500 --max-scansize=150M --max-recursion=50 --max-filesize=100M --show-progress --recursive --exclude="[^\]*\.dbx$" --exclude="[^\]*\.tbb$" --exclude="[^\]*\.pst$" --exclude="[^\]*\.dat$" --exclude="[^\]*\.log$" --exclude="[^\]*\.evt$" --exclude="[^\]*\.nsf$" --exclude="[^\]*\.ntf$" --exclude="[^\]*\.chm$" --path=%1
(I removed the mail stuff cause I don't need it)

3-ScanFile.bat:
"G:\1-SAVE\3-SECURITY\ClamWin\bin\CLAMWIN.exe" --mode=scanner --path=%1
You will probably need to edit the conf file to suit your specific needs as well.

I read on the programs mentioned here; autorunguard and usbvirusscan, and would like to mention the all powerful PStart (www.pegtop.net). Free and made for flash drives and has autorun & parameter options to name two of it's many attributes.
In windows "clamscan.exe --help" is the ticket for the list of cmd's. The 3 programs mentioned are not intended as spam at all. They are just for those who may find them useful in conjunction with clamwin in windows. I am a total dummy when it comes to dos btw, as I wanted some sort of exit when done (with params) option which apparently doesn't exist.
View user's profileSend private message
Post your guides here
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