syntax wrong

for /L %%i in (1,1,23) do
(
echo %%i
)
pause

Open in new window

zhshqzycAsked:
Who is Participating?
 
knightEknightCommented:
put the ( on the same line as the for:

for /L %%i in (1,1,23) do (
  echo %%i
)
pause
0
 
zhshqzycAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.