Создание папок по списку 1 с файлами с текстом из списка 2. Bat

copy con "temp.txt"
For /F "delims=" %%N In (spisok2.txt) Do (
md C:\yo\"%%N"

For /F "delims=" %%L In (spisok1.txt) Do (
echo text1 %%L text2 %%L text3 %%L text4 %%L text5 %%L text6 %%L text7 %%L text8 %%L text9>C:\yo\"%%N"\temp.txt
ren C:\yo\"%%N"\temp.txt index.html
del C:\yo\"%%N"\temp.txt))

@pause

Комментарии