Here are a couple...
Avast:
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" %1
ClamWin, I deleted my batch but it was something this, I am missing zip, rar
& all that right now:
clamscan.exe --database="C:\Documents and Settings\All Users\.clamwin\db" %1
(clamscan.exe --help) as I recall giess the command lines, I do not have it
installed right now...
Back in the DOS days I used F-Prot McaFee & Norton (all DOS versions) & it
worked pretty good, I thing I used AVP for DOS too.
Download managers can run virus scanners & there is even a Firefox plugin
to scan downloads so why not all of us slam AV.bat out?
Now the way I see it is if there is little space on a hard drive or little
resources on a computer call should be used such as:
call avast %1
call clamwin %1
There are tons of AV programs out there but if anyone has compatable ones I
very much would like to see it!
Thanx everyone!
> I just started trying to get command line virus scanners going
>I mainly want to know of any command line virus scanners that work with
>each other folks might have tried,
>
>call avast %1
>call clamwin %1
>
> There are tons of AV programs out there but if anyone has compatable ones I
>very much would like to see it!
AVG (I use the free version) also has command line switches.
@Echo off
For %%# In (%1) Do If Exist "%1" Call :Process "%1"
Goto :Eof
:Process
Echo:Processing %~1
"C:\Program Files\Grisoft\AVG7\avgscan.exe"/clean %1
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" %1
"C:\Program Files\ClamWin\bin\clamscan.exe" --database="C:\Documents and
Settings\All Users\.clamwin\db" %1
goto :End
:End
> @Echo off
> For %%# In (%1) Do If Exist "%1" Call :Process "%1"
rem Remove the :Eof!!!, this kiils the bat in Win 98 since there is no such
label !!!
> Goto :Eof
> :Process
> Echo:Processing %~1
> "C:\Program Files\Grisoft\AVG7\avgscan.exe"/clean %1
> "C:\Program Files\Alwil Software\Avast4\ashQuick.exe" %1
> "C:\Program Files\ClamWin\bin\clamscan.exe" --database="C:\Documents and
>Settings\All Users\.clamwin\db" %1
> goto :End
> :End
I just wanted to update folks on my little FileScan.bat
The batch file to run ClamWin has to be changed if you are running Win 98
since there is no directory called:
"C:\Program Files\ClamWin\bin\clamscan.exe" --database="C:\Documents and
Settings\All Users\.clamwin\db"
It is something like "c:\windows\application data" do dir/s/b to find the
.clamwin directory, as I recall there are two directories with that name.
I did try out Bitdefender & it seems to trash other .DLL files so I
abandoned it totally, Solo Antivirus has a command line scanner too (I do
not have it on my system (Shareware) but as I recall Solilte is the command
line program in it.
Here is my most up to date bat...
--------------------------------------------------------------
@Echo off
For %%# In (%1) Do If Exist "%1" Call :Process "%1"
:Process
Echo:Processing %~1
rem ClamWin
"C:\Program Files\ClamWin\bin\clamscan.exe" --unzip --database="C:\Documents
and Settings\All Users\.clamwin\db" %1
rem a-squared
"C:\Program Files\a-squared Command Line Scanner\a2cmd.exe"/a /d %1
rem This is a old outdated Norton command line scanner for DOS,
C:\NAVC\NAVC.EXE %1 /DOALLFILES /ZIP
rem AVG, this is a very good one!
"C:\Program Files\Grisoft\AVG7\avgscan.exe"/clean %1
rem Avast, this is a very good one!
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" %1
rem :End should not be needed.
goto :End
:End
rem Clear the screen
cls
rem Close the window
exit
------------------------------------------------------------------------
As I think I did mention before start /min may be wanted...