Scott and/or Jerry; I could use some help from you or possibly Jerry on getting the batch file right. I am only a basic hacker when it comes to batch files. I'm not sure how to handle the errorlevels for dr solomon
Here is Jerry's batch file edited a bit for dr solomon. I'm sure it isn't right though: @echo off set VscanRoot=d:\vscan set DecludeDir=d:\imail\declude :DRSOLOMON echo - DRSOLOMON ------------------------------------------------------------------ --- d:\progra~1\common~1\networ~1\viruss~1\4.0.xx\scan.exe /ALL /NOBEEP /NOMEM /UNZIP /NODDA /REPORT report.txt if errorlevel 1000 goto FPROT if errorlevel 8 goto virusfound if errorlevel 3 goto virusfound :FPROT echo - FPROT --------------------------------------------------------------------- %VscanRoot%\fprot\f-prot /AR /NOBO /DU /NOME /P /C /AU /DE /SI /REPORT=.\report.txt %1 if errorlevel 1000 goto END if errorlevel 8 goto virusfound if errorlevel 3 goto virusfound :virusfound echo FOUND IT!!!!>>.\report.txt attrib +r +h report.txt if exist %1 del /Q %1 attrib -r -h report.txt %decludedir%\ErrEE.com :end How does one know what errorlevel the scanner is putting out? Also how is the reporting.txt handled? And last, what is a good way to check the batch file to see if both scanners are being called right and the file is passing through both? Thanks Dan > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of R. Scott Perry > Sent: Wednesday, October 03, 2001 1:19 PM > To: [EMAIL PROTECTED] > Subject: Re: [Declude.Virus] errors in log file > > > > >I am continuing to get these errors in the log file. > > > >10/03/2001 12:24:46 Q57e22a8 WARNING: Virus scanner reported an > error #-1. > > > >You said this was due to an error with the virus scanner. I am using Dr. > >Solomon. > > This means that Dr. Solomon is reporting an error when it scans the > E-mail. Is this happening occasionally, or for all E-mail? > > >If I scan the quarantined .smd file it shows it as clean. > > That's normal. A virus scanner won't normally show a virus in a > .SMD file, > even if there is one (since the file is encoded). > > >I suppose the best way to fix this is to dump Dr. Solomon and get F-prot? > > That's probably a good idea. I don't have any information on what would > cause Dr. Solomon to report an exit code of 1. > > >And if I wanted to use two scanners, using the batch file posted > previously, > >then what would be your recommendation for a second scanner? I wouldn't > >want to use dr solomon for one of them, due to this problem, right? > > You could use Dr. Solomon in a two-scanner scenario. The batch > file could > be set up so that if Dr. Solomon reported an error #1, it would > be treated > the same as if it did not find a virus. Then, if the other scanner did > fine one, the E-mail would still be caught. > -Scott > > This E-mail came from the Declude.Virus mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.Virus". You can E-mail > [EMAIL PROTECTED] for assistance. You can visit our web > site at http://www.declude.com . > This E-mail came from the Declude.Virus mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.Virus". You can E-mail [EMAIL PROTECTED] for assistance. You can visit our web site at http://www.declude.com .