for /l %i% in (1, 1, 8) do (
set /p x=
set /p y=
@set /a "z=%x%/%y%
echo %z%
pause
)
This is just an example of a problem I'm having the loop doesn't work properly. And I don't know why. I see the command prompt pop open just for a fraction of a second. It's not supposed to do that.
I want it to repeat without having to copy and paste it a bunch of times like this:
set /p x=
set /p y=
@set /a "z=%x%/%y%
echo %z%
pause
set /p x=
set /p y=
@set /a "z=%x%/%y%
echo %z%
pause
set /p x=
set /p y=
@set /a "z=%x%/%y%
echo %z%
pause
set /p x=
set /p y=
@set /a "z=%x%/%y%
echo %z%
pause
This is the only way I can get it to work.