Hello — one of the many switches that robocopy has is /xf — to exclude file(s)
that are to be excluded — the help
(https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy)
notes that I can specify “wildcards” * and ? for the filename —
So I specified the option
/xf foo.*
and I got a error that this option was invalid
Strictly speaking is the help noted that the filename, ie the part of the file identifier before the ‘.’ can have the wildcard and not the file extension/type?
So, what would be the correct syntax so that robocopy would exclude any file with the filename of “foo” regardless of the filetype
Thanks in advance
fpefpe