I created a batch file that looks like this
SCAN /LOAD c:\vscl603\quickscan.txt /CHECKLIST C:\vscl603\checklist2.txt
quickscan.txt contains the following
EXCLUDED.txt Contains the following
I place the eicar.com test file in the testfile directory but it still scans it and deletes it. What am I missing?
Please excuse what may be a pedantic question, but your exclude file contains no reference to a directory called 'testfile'. Is that the exact name used ?
Btw, with the use of /SECURE you don't need to also have /PROGRAM /UNZIP /ANALYZE.
/SECURE covers all of those too.
Sorry for the typo on my part. I placed the eicar.com test file in the testvirus directory. This direcectory is in my documents folder.
Thank you for the info about /SECURE. I will update my file and remove the other 3
Paths are not relative it seems, and require a starting drive defined.
*\test is not resolved in the exclude file.
c:\*\test is resolved in the exclude file.
Remove the ** from **\testvirus\, this does nothing.
So, based on the example from your exclude file:
a bit of experimentation should allow you to work out the correct permutation.
I had tried different ways of writing the exclusions and couldn’t get them to work. I must not have tried the way you wrote them. After correcting the paths, I placed the test virus in all the directories and it successfully skipped them all in a full scan.
Thank you for the help!