I have been searching for hours now and didn't find a solution yet.
This is the whole command with a loop:
for /L %a in (1, 1, 3) do call echo ^<center^> >indeex%a.html
Output results (*Without any text in them):*
indeex1.html
indeex2.html
indeex3.html
I tried the other way with quotes, it worked but it included the quotes in the output files.(without carrot signs)
for /L %a in (1, 1, 3) do call echo "<center>" >indeex%a.html
When I try the same code with carrot signs but without loops, it actually works.
echo ^<center^> >file.html
My question is how to make it work with a loop? Because I need to make 100 files with the same HTML code in them.