You are here

ClamWin: clamscan for command line usage not portable?

4 posts / 0 new
Last post
guestt
Offline
Last seen: 17 years 5 months ago
Joined: 2007-02-10 18:01
ClamWin: clamscan for command line usage not portable?

I wanted to use clamscan (the command line tool) in comb ination with downloadscan (http://downloadstatusbar.mozdev.org/downscan/). Clamscan brings always error message that the database file can not be found.

Could you make the command line tool portable aswell? Would be damm usefull.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think

you can pass the necessary parameters on to the commandline.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

guestt
Offline
Last seen: 17 years 5 months ago
Joined: 2007-02-10 18:01
well

I did not get it to work. You? Can you give me the command line please I have to use with?

Hank7
Offline
Last seen: 5 years 3 months ago
Joined: 2006-09-27 07:39
Download Scan & ClamWin

Unless you prefer the DOS window of the command line scanner I think you'd be better off with using the GUI for Download Scan. This has two advantages:

1) If a virus is detected the ClamWin window remains open. The DOS window would close after the scan, regardless of the result.

2) The manipulation of paths is easier. clamscan.exe requires the absolute paths to virus DB and log file, which you would have to adapt every time you change the drive letter. If you use the launcher ClamWinPortable.exe instead the arguments are simpler:

--mode=scanner --path=%1 --close

Of course the path to the executable itself still has to be changed every time you switch drive letters by either using the add-ons menu or about:config.

Maybe the launcher could rewrite the entry in prefs.js? Or better, Download Scan could be made to support relative paths Smile

Log in or register to post comments