For example, I have:
1) text.txt file in D:\Test folder
2) text.txt file in D:\x64_this-is-my-test_54321_99.88.77.555_folder_n12345 folder
How can I copy with replacement (xcopy /o /y)
text.txt file from Test folder to the x64_this-is-my-test_54321_99.88.77.555_folder_n12345 folder
by using command line (FOR /R [[drive:]path] %%parameter IN (set) DO command )
if I know only that the second folder name starts with x64_this-is-my-test, and the other part of the folder's name is unknown?
x64_this-is-my-test*