• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

syntax wrong

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

Open in new window

0
zhshqzyc
Asked:
zhshqzyc
1 Solution
 
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now