PDA

View Full Version : Command line return code - possible to change?


ITemplate
October 17th, 2009, 08:31 AM
Hi,

Using Nod32 version 4, Im having my trouble with the command line tool. It says in the documentation that there are several return codes if thing go wrong. Either because there was an error or perhaps a virus was found.

An example is return code 1 which is "virus found and cleaned". Code 50 is just "virus found". The only simple thing is return code 0 which is "all ok".

But I have these tools that require a single result code if things are not "all ok" - so it the other way around. Is there any way to change the command line result codes to always just return 0 or 1 for example?

--

Marcos
October 17th, 2009, 01:23 PM
In your case, use code 1 if threats are supposed to be cleaned or code 50 if cleaning doesn't matter.