for /d %%a in ("PATH\*") do md "%%a\FOLDER"
What it does
The above will create a folder named "FOLDER" in all
subdirectories of the path "PATH".
It doesn't matter the length or names of the subdirectories in
PATH, it will create a folder named FOLDER in all of them.
How it works
FOR /D variable (path) DO command
a "for /d" loop will loop through all directories in the path in parenthesis, store the directory name in the variable, and do the command. (the * is required to loop through folders, else it will loop through files)
So, the script I provided will loop through the subdirectories in PATH, store the name of the path and current subdirectory, and do the command "md "%%a\FOLDER". "md" makes a directory, remember, the path and subdirectory was stored in the variable %%a. So it will make the directory "Path you provided\the subdirectory the loop is at\FOLDER"
Say the script was as follows.
for /d %%a in ("C:\*") do md "%%a\my folder"
For each subdirectory in C:\ (stored as %%a), make a directory called myfolder in that subdirectory (%%a)
Say the first folder in C:\ it came across was "Windows"
It would store "C:\Windows" in %%a
Then make the directory %%a\myfolder
Remember %%a was set to "C:\Windows", so it would be creating the directory C:\Windows\myfolder
I hope that helps.
There are no stupid questions, just stupid people.