I had tried to make batch script that copies all *.tif files located in D:\images(random named subfolders here) to d:\all.
xcopy D:\Downloads\*.TIF D:\temp\ /s
works, but it copies with all folder tree. I tried to use other keys, but its dont works.
Thanks for help!
FORis your friend. ReadHELP FORon the/Roption and the%~nxvariable substitution; and then try this very simple code.watch carefully the results and then remove the
ECHOcommand.You will have to refine the code to cope with errors, duplicate names, edge cases, names with reserved characters, race conditions, cosmic events…