ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
How to scan files received through Msn with clamwin?
thomas486


Joined: 03 May 2006
Posts: 0
Reply with quote
How to scan files received through Msn messenger with clamwin?

How do I scan files using clamwin through MSN Messenger? Since I have selected Tool->Options->File Transfer and then ticked "scan for viruses" using clamwin. I am not sure which clamwin executable I should use.
__________________________________________
Thomas486 https://antihackerblog.blogspot.com
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
try applying the information from this user guide:
https://www.clamwin.com/content/view/117/89/

If you succeed, please write a similar guide with screenshots if you can so we can put it online for others

Thanks,
Alch
View user's profileSend private message
bugme
Guest

Reply with quote
any luck?
How to scan files received through Msn with clamwin.
jla


Joined: 29 Aug 2006
Posts: 0
Reply with quote
After some putzing around I got this to work.

1) Create a bat file. Have it contain the command line arguments from the https://www.clamwin.com/content/view/117/89/ WinZip example with a minor modification of the --path= argument. I created my file in "C:\Documents and Settings\<username>\" and called it msgscan.bat

Code:
"C:\Program Files\ClamWin\bin\ClamWin.exe" --mode=scanner --path=%1 --close


2) In the Messenger program options, File Transfer section, check the Scan for viruses using checkbox, and paste the full path to your bat file.

Code:
"C:\Documents and Settings\<username>\msgscan.bat"


This worked for me with Windows Messenger Live replacing <username> with my username in the Documents and Settings directory. Quotes matter so do it exactly like this example. If ClamWin.exe would have taken it's final argument as the file or directory to scan (instead of requiring the use of --path=) then the batch file wouldn't be necessary.
View user's profileSend private message
Vanni


Joined: 12 Jul 2006
Posts: 0
Location: Italy
Reply with quote
Hi,

we use msn messenger extensively here, so the first thing I tried was to scan the files inbound through it. This script is also able to unrar archives, as clam is not very good at it. Just remember to put unrar.exe taken from unxutils or better from winrar.com site somewhere in the system path so that it is found when invoked by clamscan.

Notice also the positions of the log files, if you don't want them you can ramove that part. The script is for italian Windows 2000 or XP so the path to executables is slughtly different, change it to match your installation.

Code:
"C:\Programmi\ClamWin\bin\clamscan.exe" --unrar --log="%userprofile%\documenti\clamscan.log" --database="C:\Documents and Settings\All Users\.clamwin\db" --remove --tempdir="%userprofile%\impostazioni locali\temp" %1 %2
View user's profileSend private message
How to scan files received through Msn with clamwin?
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