Menu

#62 Target as cmd line option (ClamWin "f:\incoming\")

open
nobody
None
5
2012-09-05
2005-01-13
Joern H.
No

ClamWin is almost what I'm looking for (thanks so
far =)
I'm looking for a scanner that I start explicitly to
scan a specific file/folder; otherwise, it should not
be 100% gone and not touching Windows in any
way.

To ease things on my small LAN (and because I
believe it's just smoother that way), I configured
ClamWin to be completely self-contained in one
folder, with no registry settings (tip: use relative
paths in the conf file, and you can move the folder
around, put it on a CD, or have the drive mapped on
another letter on another machine).

For convenience, I have put ClamWin into my
SendTo folder. Only problem: ClamWin does not
care about the command line parameter.

It would be great (and very easy to do?) if I could
run, for example, 'ClamWin "d:\path to suspect files"
' and 'ClamWin "d:\temp\aSuspectFile.exe"'.

(By the way: do you really need that ExpShell.dll? A
bunch of registry entries is all you need to start an
app from Explorer context menus. I only noticed
because I could not delete it after exiting ClamShell
.)

Thanks for your time - j

Discussion

  • maximd

    maximd - 2005-03-03

    Logged In: YES
    user_id=1062322

    I think that would be a great feature too.
    I'm using clamwin to scan finished files in eMule plus and
    incoming files in msn messenger.
    For these softwares (and others) I have to fill in the path
    of the command.

    Now I'm using clamscan.exe but there are problems using it
    this way :
    - because it's a command line program, when the scan is
    done, the window exits without warning about the result of
    the scan...
    Of course if there's no viruses, there's no problems but...
    if there's one, I just don't know!
    A solution could be to log the result of the scan in a file
    and then see it :-\ Or maybe to make the command "beep" as the command line
    proposes with the option " --bell -> Sound bell on virus
    detection"
    but it doesn't work. I suppose it's because it comes from
    the linux world and it doesn't work in DOS.

    Well, compared to all these problems, clamwin offers a more
    user friendly way to warn about viruses.

    Other advantage : clamwin is configured to use some options
    like : exclude patterns or how to process an infected file
    (show the file, delete it or quarantinize it)

    ^^' Maybe this will convince you! I hope so :)

    Anyway thanks for your job!

     
  • Kyhwana

    Kyhwana - 2005-05-16

    Logged In: YES
    user_id=206810

    As I mentioned in the winrar/downloaded manager threads, I
    hacked up a C# app that displays the output of clamscan.exe
    in a normal window. All you need to pass clamwinscanner.exe
    (which you drop into the same dir as clamscan.exe) is the
    path/filename(s) of the files you want to scan and it'll
    scan them, putting the output in a normal textbox.
    (The only problem is that the path to the database file is
    hardcoded for 2k/XP, but the source is included and you can
    use Sharp Develop (GPL) to edit it)
    Get it from http://www.kyhwana.org/clamwinscanner-0.1.zip

     

Log in to post a comment.