Here is what i have for now:
xcopy "c:\projects\SampleProject" "c:\temp\copytest" /E /H /EXCLUDE:elist.txt
It does all the job i need except filtering filenames by extensions.
For example: copy all *.exe
files from c:\temp\copytest
and subdirectories.
How to do that?
/D
statement is also useful. It orders CMD to only copy files that are newer than their destination opposite. – Mender