ERRORLEVEL in command line scan

Discussion in 'NOD32 version 2 Forum' started by webmad, Nov 17, 2004.

Thread Status:
Not open for further replies.
  1. webmad

    webmad Registered Member

    Joined:
    Oct 20, 2004
    Posts:
    4
    Location:
    Roma, Italy
    Hi all.
    I would like to use command line scan in a batch file and monitor the results of scanning in a file.
    When invoked through the command line, is there a way to let NOD32 set an exit code when a virus is found?
    In my experience, NOD32 always exits with ERRORLEVEL = 0, even if command line parameter is wrong.

    Thanks in advance.

    Pietro.
     
  2. Marcos

    Marcos Eset Staff Account

    Joined:
    Nov 22, 2002
    Posts:
    14,415
    0 - scan successfully completed
    1 - virus detected
    2 - virus cleaned
    5 - scan terminated
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.