How to make button to scan files?


how can i make a toolbar button so that when i click it the choosen
files are scanned with kaspersky antivirus 7 ?

regards Nolan

I have never used Kaspersky AV so I cannot answer your question but I would suggest you find out from Kaspersky what their requirements are for doing this.

I also never used Kaspersky AV but I found this for you:

Kaspersky Technical Articles
Parameters of the command line in Kaspersky Anti-Virus 5.0.527 and above:
and click: scan of the specified objects

Link above is KAV 5.0 :blush:, here is the link for KAV 7.0:

Kaspersky Technical Articles
Parameters of the command prompt in Kaspersky Lab products version 6.0 and 7.0

You could also probably use the shell extension if it has one... which would probably be located under the HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers registry key... and then add a context menu action to 'All files and folders' that runs an Opus function like:

FileType CONTEXTMENU {cda2863e-2497-4c49-9b89-06840e070a87} CONTEXTFORCE

...which is the command required to add the McAfee Antivirus scan context menu item to Opus if it's otherwise being filtered out along with the other Windows context menu items.