I have some files that need to be copied to a directory on a schedule. All the files have the same name but the extension increments (I have no control over this, it drives me mad)
I've tried running
xcopy /C /D /Y /I "C:\Temp\Source" "C:\Temp\Destination"
But I get a message it can't find the file.
Right now I've got a bit of a bodge in place that uses an excluded file extension list and copies anything that isn't in the list but I feel like it might be able to be done better.