I'm writing a batch file that will copy a certain file into every sub-folder of a particular folder. Here's what I have, but I'm not sure how to complete it:
For /f %%a in (
) do (
set Folder=%%a
Copy C:\Files\File.txt C:\Directory\%Folder&\
)
I'm not sure what to put in place of "(
)" that will get the folder name and then drop it into the variable "Folder" for me. Any help is appreciated.
Thanks!