I'm working on a project for my son. I want to imitate the code for the matrix in CMD using a .bat file.
~note: this is an example of whats going on, not the whole code

:start
@set /a bottomlimit = 0
@set /a upperlimit = 2
@set /a result1 = %bottomlimit% + %random% %% (%upperlimit% - %bottomlimit% + 1)

if %result1% == "2" set /a result1 = " " <- this is the part that is messing up, it doesnt change the 2 to a blank space and keeps echoing as 2

echo %result1%

goto start