What I want is to enter a sentence myself, and then display it 100 times on the screen.
Could an expert please teach me?
Could an expert please teach me?
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
@echo off
Set /p hello=Enter the text you want to repeat:
for /L %%a in (1,1,100) do echo %hello%
pause