Here's a link to the
XCOPY Syntax
Personally, I would build a script that cleared all of the archive flags from anything with a dot-LOG and the use the "/a" option
however, you can build an exclude text file...
/exclude:filename1[+[filename2]][+[filename3]] : Specifies a list of files containing strings.
>UPDATE>
Pulled my old DOS3.0 book out
A better description would be this:
/Exclude:{path}list_of_exclusions.txt
DO NOT USE SPACES NOR ANYTHING OTHER THAN THE ALPHANUMERIC and UNDERSCORE IN THE PATH AND FILE NAME!
This is OLD SCHOOL 8.3 type naming convention (even if you can use a longer name keep it simple and you'll be happier!).
now at the full path you have crete the text file that has just
.log
.LOG
in the file and save.
Now I remember why my batch files would go thru and set/clear the archive flags for files... easier.