I didn't know the best forum to post this too.
Hopefully this one is appropriate.
I am working in Win10, however I believe a standard .bat file can accomplish what
I'm after.
Here's what I'd like to do.
I would like to create a loop that circles through each file in a given folder,
takes the name of each file and searches for this name in a list of folders (names).
If the folder name is found, then move the file with the same name, into this
folder.
I'm sure this would be fairly easy to set up. My DOS .bat skills aren't up to this
task though.
Can anyone here help me?
More clarification with an example:
Filename:
'Leaf in garden.jpg'
Folder:
'Garden'
Move 'Leaf in garden.jpg' into folder 'Garden'.
Edited by MarkBeepBeep, 09 November 2022 - 02:27 PM.