Jeremy Fairbrass wrote:
Hi all,
Can someone kindly tell me what the possible errorlevel return codes are for both clamdscan and clamscan, for ClamAV for Windows (http://w32.clamav.net)? In other words, what possible errorlevels can I expect if running either clamdscan or clamscan from a DOS batch file? And are the errorlevels for both files identical, or different?

These are the return codes, not all codes will be appropriate for your 
operating system.

clamscan:

      0 : No virus found.

      1 : Virus(es) found.

      40: Unknown option passed.

      50: Database initialization error.

      52: Not supported file type.

      53: Can’t open directory.

      54: Can’t open file. (ofm)

      55: Error reading file. (ofm)

      56: Can’t stat input file / directory.

      57: Can’t get absolute path name of current working directory.

      58: I/O error, please check your file system.

      59: Can’t get information about current user from /etc/passwd.

      60: Can’t get information  about  user  ’clamav’  (default  name)  from
      /etc/passwd.

      61: Can’t fork.

      62: Can’t initialize logger.

      63: Can’t create temporary files/directories (check permissions).

      64: Can’t write to temporary directory (please specify another one).

      70: Can’t allocate and clear memory (calloc).

      71: Can’t allocate memory (malloc).

clamdscan:
      0 : No virus found.

      1 : Virus(es) found.

      2 : An error occured.



Cheers,
Jeremy


--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32

Reply via email to