I have this script and two files, a.txt, b.txt
for %%f in (*.txt) do (
echo 1 > c.txt
echo %%f
)
but this for loop also loop the file created after the script
how to limit it only loop the files before running script?
I have this script and two files, a.txt, b.txt
for %%f in (*.txt) do (
echo 1 > c.txt
echo %%f
)
but this for loop also loop the file created after the script
how to limit it only loop the files before running script?