ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
clamscan and return codes
hankn


Joined: 20 Feb 2007
Posts: 0
Reply with quote
I would like to run clamscan in batch mode and trap the errorlevel variable so that it returns the total number of virii found. Is that at all possible? Or is there some other clamwin pgm I should be using?
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
Clamscan will only return whether it found a virus (1) or not (0), or some error code. It will not tell you how many virii were found. To count such a number, you will have to parse the scanner output.
View user's profileSend private message
clamscan and return codes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic