PDA

View Full Version : ERRORLEVEL in command line scan


webmad
November 17th, 2004, 07:27 AM
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.

Marcos
November 17th, 2004, 03:39 PM
0 - scan successfully completed
1 - virus detected
2 - virus cleaned
5 - scan terminated