 | clamscan and return codes |  |
hankn
Joined: 20 Feb 2007 |
Posts: 0 |
|
|
 |
Posted: Thu Apr 12, 2007 12:02 pm |
|
 |
 |
 |
 |
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?
|
|
budtse
Joined: 14 Jan 2006 |
Posts: 0 |
Location: Belgium |
|
 |
Posted: Thu Apr 12, 2007 2:49 pm |
|
 |
 |
 |
 |
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.
|
|
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
|
|
|
Powered by
phpBB © phpBB Group
Design by
phpBBStyles.com |
Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.