Is it possible to xcopy multiple file extensions with one line of code?
As an example:
xcopy “e:MyDirectory*.xls;*.doc” “Z:backup” /S /Y[tab ‘Note two different types of file extensions.
As opposed to:
xcopy “e:MyDirectory*.xls” “Z:backup” /S /Y
xcopy “e:MyDirectory*.doc” “Z:backup” /S /Y
I have not had any success.
Thanks,
John