Jason,
Hi, Looking at the cmd.exe bugs in the database, one is caused by a lack of XCOPY support.
I've been wishing for this for other reasons lately. Glad you're looking at it!
Does anyone have anything like this in their tree, or should I try to knock something up?
I'm not aware of anything like it in the wine tree. (It's tempting to borrow code from freedos, but they're GPL... still, you could peek at e.g. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/xcopy/rxcopy/ and maybe ask the author to relicense if you like it.)
I also assume it needs to be a separate program, not part of cmd.exe, to mimic how windows does it?
Yes. BTW, it would be nice if you could include a conformace test of some sort. Maybe a batch file that reports problems by using echo FAIL ...reason... ? - Dan