So, I use this command to copy only txt files from a specific directory to another directory
for /R c:\source %%f in (*.xml) do copy %%fx:\destination\
But it only copies text files with no space in the name, so it copies test.txt, but does not test 2.txt. How to make it copy txt files with spaces?
cmd
Richard
source share