Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FileScan.bat Command (Line Virus Scanners...)

470 views
Skip to first unread message

FileGod

unread,
Apr 9, 2008, 4:44:03 AM4/9/08
to
I just started trying to get command line virus scanners going, back in the
DOS days I had 3 scan the new files, nowdays there are many problems that
can come up due to conflicts with each other, I even deleted my Windows,
Program Files & Documents & Settings just to get rid of all the garbage
files & I used BartPE & it works very nice!, Bart PE is even better than the
Linux Live Disks I tried out so far even counting Ubuntu (there are lots of
Linux versions).
I mainly want to know of any command line virus scanners that work with
each other folks might have tried,

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!

foxidrive

unread,
Apr 9, 2008, 5:40:03 AM4/9/08
to
On Wed, 09 Apr 2008 08:44:03 GMT, 0@0.0 (FileGod) wrote:

> 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.

FileGod

unread,
Apr 17, 2008, 3:32:39 PM4/17/08
to
I started working on my virus scanner batch file & have it working with
Avast, AVG & ClamWin, maybe I should try start /min eh?
And they say Avast is not a command line scanner, I would say the folks
that say that are out of date on it, these are all free versions too!
If you try adding another virus scanner to the bat & it works please post
it especially if it is free =8-)
Oh, there should be a space in front of each line to show there is no word
wrap...

@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

http://www.filegod.netfirms.com

FileGod

unread,
Apr 24, 2008, 3:14:08 AM4/24/08
to
0@0.0 (FileGod) wrote:
>I started working on my virus scanner batch file & have it working with
>Oh, there should be a space in front of each line to show there is no word
>wrap...

> @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...

http://www.filegod.netfirms.com

0 new messages