Copy files to many folders

Copy files to many folders
Name: Copy files to many folders
Submitted: 22 Mar 2011
Submitter: NickTheGreek
Category: Windows Tutorials
Views: 370
Rating: 0
Description: i was wondering if there was a script or a program that will copy two designated files to a specified folder and every subfolder?


Directions

This works (at-least in WinXP):

cd root-folder-of-target
for /d /r %f in (.\) do copy c:\drop.txt %f

Notes:
1. You must change to the root of the target folder. For ex:, if you want to copy a file to C:\DOWNLOADS and all it's subfolders, first chdir to C:\DOWNLOADS
2. Substitute c:\drop.txt with the location and file-name of the actual file to be dropped in each folder.

Let us know if this worked for you.