avery_larry wrote:Do you want it copied into every subfolder?Code: Select all
cd /d "%~dp0"
for /d %%a in (*) do copy example.txt "%%a"
THANK YOU! Just what I needed. Could you explain it to me?
avery_larry wrote:Do you want it copied into every subfolder?Code: Select all
cd /d "%~dp0"
for /d %%a in (*) do copy example.txt "%%a"
Code: Select all
@echo off
Copy example.txt "%~dp0*\*"
pause