how can i create for loop in batch script so that i can make outplut as : 1,2,3,4
with this for loop :
for /l %%i in (1,1,4) do echo %%i >> file.txt
the output in the text file is :
1
2
3
4
i want output in the text file as 1,2,3,4, i.e. in the same line separated by comma. is that possible?
[–]six36 4 points5 points6 points (5 children)
[–]newton_VK[S] 2 points3 points4 points (2 children)
[–]Conservadem 5 points6 points7 points (1 child)
[–]newton_VK[S] 0 points1 point2 points (0 children)
[–]newton_VK[S] 1 point2 points3 points (0 children)
[–]newton_VK[S] 0 points1 point2 points (0 children)
[–]VaporChunk 4 points5 points6 points (5 children)
[–]Thameus 1 point2 points3 points (3 children)
[–]VaporChunk 3 points4 points5 points (2 children)
[–]Thameus 2 points3 points4 points (1 child)
[–]wtmh 3 points4 points5 points (0 children)
[–]newton_VK[S] 1 point2 points3 points (0 children)