![]() |
| Execution Problem using clamscan under Windows |
|
GuitarBob
|
Below is some info from the Advanced section of ClamWin Help:
Running a Virus Scan from the Command Line ClamWin can be run from the command line, from a batch file for instance. For a full list of parameters, navigate to the directory containing the executable files ("C:\Program Files\ClamWin\bin" on a default installation) and run clamscan.exe --help The database directory must be specified, using the --database=FILE/DIR parameter. In a default installation, the command to scan the entire C: drive would be: clamscan.exe --database="C:\Program Files\ClamWin\db" --recursive C:\ Note the use of the --recursive parameter to ensure that sub-directories are scanned. When run from the command line, a value will be returned, indicating whether or not a virus was detected. If no virus is found, the return value will be 0. If a virus is found, the return value is 1. Any other return value indicates an error Hope this helps--I'm not a command line guy--used to be in DOS but that was a while ago. Regards, |
||||||||||||
|
|
|||||||||||||
|
bjt
|
Hi,
thanks, the --database parameter pointing to the db-Directory, which freshclam fills with Virus definitions, makes clamscan also run outside of the bin-directory. Regards, Bjoern |
||||||||||||
|
|
|||||||||||||
| Execution Problem using clamscan under Windows |
|
||
|
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.
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.


