in reply to
Copy files and subdirectories
I believe there are versions of rsync for Windows; it would likely do what you want (it can exclude files, but I'm not familiar with xcopy or its options).
Comment on
Re: Copy files and subdirectories
In Section
Seekers of Perl Wisdom