I am trying to create a windows batch to loop through multiple folders and copy *.txt from each to a single target folder. Here is where i have started:
set inbox=C:\Test\inbox
for %%i in (C:\Test\Archive\ C:\Test\temp\) do (xcopy %%i\*.txt %inbox%\)