Last Updated:

Copy a file to multiple folders

How To
How To bat

Copy a file to multiple folders
This batch script has one limitation; the folders you copy the file to have to be in the same folder. It won’t work if the folders are all in different places.

Open Notepad and paste the following in it. You will need to make edits to this script before you can save it. bat extension

@echo off
for /D %%a in ("path-to-folder\*.*") do xcopy /y /d path-to-file\file.FileExt "%%a\"