1.

Solve : command for looping and stop?

Answer»

what command to add to make my test PROGRAM run for 100 cycles, then Stop.
i NEED to add in my autoexec.bat file.for /?.sorry? for???i can;t understand.
i USE GOTO command.
but it is a loop command,the utility will keep runnning,unless i press ctrl+C.
if there any command to PRESET the cycles?
then stop it after completed.I m not sure what u want but if u want to do loop 100 cycles echo message u do TRY run in command window.

for /l %a in (1, 1, 100) do @echo hello

Thanks,
Jay



Discussion

No Comment Found