Code: Select all
@echo off
:start
set "Q"="1"
:start2
set "Q"="Q + 1"
>>text.txt echo set /p line%Q%=
goto start2
pause
please help
Moderator: DosItHelp
Code: Select all
@echo off
:start
set "Q"="1"
:start2
set "Q"="Q + 1"
>>text.txt echo set /p line%Q%=
goto start2
pause
BatMaster wrote:Code: Select all
>>text.txt echo set /p line%Q%=
BatMaster wrote:Code: Select all
:start2
set "Q"="Q + 1"
>>text.txt echo set /p line%Q%=
goto start2
pause