hi community,
someone maybe know, if there is a way to update AV DB by command prompt?
or even run a scan without interaction by a user, lets say with auto quarantine ?
Scanning would need for Comodo developpers to have integrated command line options and, altough i don’t formally know anything about that, i doubt it has been done.
Automatic command line updating is another story, and i am only answering with general considerations as i don’t use the av part of cis.
In order for such a thing to work (i did it with kav some years ago):
-the updates must be accessible by a ftp protocol adress (i know of no way of getting command line http download at work, but of course, i don’t know everything).
-If so, the ftp adress must be fixed and known before you run the script.
-The update file name must also be known before, wildcards allowed: fine if it has a ddmmaaaaxxxx.xxx format, no chance if the file name is random.
-One must know before (again, i don’t use cav) if the update process is additive (only add new files) or incremential (add new files, modify old ones, delete obsolete ones).
In the first event, it is quite easy.
For the two other ones, it would be more tricky, as i guess that you have no privileges to list the whole comodo update folder and to compare it with your working folder: the solution would be to make a copy of your working folder to some temporary folder, delete the contents of this working folder, download the new base in this working folder, compare with the temp folder, apply incremential modifications, delete the temp folder.
Not very hard, but somewhat long in the download and comparison process.
what i meant was, that you maybe could make the cis agent, which is called like " cmdagent.exe" to have some switches. like “cmdagent.exe /updateav” and that would use the preconfigured settings of CIS to update. lets say you would call directly Cmdagent>Antivirus>Update Virus Database.
I think i have answered that:
Scanning would need for Comodo developpers to have integrated command line options and, altough i don't formally know anything about that, i doubt it has been done.
I don’t have the link, but someone already complained that cis (it wasn’t cav, as far as i remember) did not have any command prompt execution and switches, it was answered it did not exist neither was on the roadbook.
So, either you rewrite your thread where it belongs (the wishlist), but knowing that, like everything written in the said section, it is perfectly useless, either you try to manage it yourself if you need such a behavior…