"Here I am"-folder
|
|--- mainfolder 1
| |
| |--- subfolder 1
| |--- subfolder 2
|
|--- mainfolder 2
| |
| |--- subfolder 1
| |--- subfolder 2
I want to place a batch-file into the "Here I am"-folder and execute it from there. It should copy a file named text.txt into all the subfolder 2 only.
Tried:
@echo off
Setlocal EnableDelayedExpansion
cls
set currentDirectory=