|Thanks for all your replies.|
I need Long File Name support and LFNDOS and DOSLFN are pretty flakey.
I tried xxcopy, which works but is terribly slow and has no Long File Name support. I have also tried xcopy using both DOSLFN and LFNDOS.
I am having the best results using LCOPY from LFNTOOLS (lfntools.sourceforge.net - GPL license) because it supports long filenames. It is also 20x faster than xxcopy. My only problem now is omitting certain file extensions with the copy- which is a big task in DOS.
To get this working, I think that I would have to dump a directory and file listing into a file then parse it in and check for a .WRK extension. This is A LOT of work in DOS for something that is simple, so I think I'll just drop it and do it with a Linux bash script.
DOS is v 6.22 BTW.
Thanks for all the help.