ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
passing arguments to clamscan
clam.Man


Joined: 29 Nov 2010
Posts: 0
Reply with quote
hi all!

i'm trying to write an AutoIt front-end for running multiple malware scanners on selected files/directories - process is like so:

1) in explorer, select one or more files or folders
2) run my MultiScan script from an explorer context menu item
3) MultiScan will use multiple programs to process the selected files/folders

what i'm having trouble with is figuring out how i can pass the selected filenames/directories on to clamscan
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
clamscan --help
View user's profileSend private message
clam.Man


Joined: 29 Nov 2010
Posts: 0
Reply with quote
hi alch - i read the documentation and have no problem running clamscan from the command line, but there's nothing i found that indicates how to do what i want to do

yes, one can pass file names to clamscan through the command line, but i don't know how to that with the method i described above

...oops - wait a min... i think i see how to do this

i got it working - dumbness on my part
View user's profileSend private message
David.P


Joined: 20 Apr 2012
Posts: 0
Reply with quote
Hi,

I'd like to use ClamWin to automatically scan downloaded files. I tried to pass the following comand line (via the Firefox Download Statusbar Addon):

Code:
clamscan.exe -f %1 --bell --show-progress

but nothing happens.

What could be the reason?

Thanks already
David.P
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
ClamWin is configured to work with Outlook. There is no other email support. The Clam Sentinel program features real-time scanning with ClamWin for all files.

Regards,
View user's profileSend private message
David.P


Joined: 20 Apr 2012
Posts: 0
Reply with quote
GuitarBob wrote:
ClamWin is configured to work with Outlook. There is no other email support. The Clam Sentinel program features real-time scanning with ClamWin for all files.

My question is not related to real-time scanning or e-mail.

I want to scan single files via command line (launched by another program, here Firefox)

This is the settings dialog within Firefox:



Probably the arguments line has a syntax error?
View user's profileSend private message
zailaiboke


Joined: 07 Sep 2013
Posts: 0
Location: FSAF
Reply with quote
via command line




______________________________________________
https://www.teragoldeu.com/aion-kinah-566/ Aion Kinah
View user's profileSend private message
passing arguments to clamscan
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