I would like a batch file to move multiple files from multiple directories to one directory on one
You can try with the below script,
for /f "Tokens=* delims= " %%g in ('dir /b /s "C:CanProd" ^| find "Proc\"') do move"%%g" "destination path"
The destination path should finish like " D:test\". Path should end with the slash ().
Thanks to Hawk
for this tip on the forum.
Published by aakai1056
Latest update on January 27, 2010 at 06:28 AM by aakai1056.