I am trying to write a script that copies all files in my source folder to another folder but without the folder structure, so just the files.
So far I have:
robocopy "<source>" "<target>" /s /copyall
Example: I have C:\1\2\3.txt and C:\4\5\6.jpg and in my target I only want D:\target\3.txt and D:\target\6.jpg
Any ideas?