i am trying to create a batch file that creates a file in batch (making a batch file within a batch file) and my code looks like this:
echo :1 >> defer.bat
echo echo %random% %random% %random% %random% %random% %random% %random% %random% >> matrix.bat
echo color a >> matrix.bat
echo goto 1 >> matrix.bat
but this is what i get in "matrix.bat":
:1
echo 15001 22164 12657 22939 10057 23147 24690 21579
color a
goto 1
and what i want is it to say is
%random%
is there any way to make it say that?
(if your confused i want to replace
echo 15001 22164 12657 22939 10057 23147 24690 21579
with
echo %random% %random% %random% %random% %random% %random% %random% %random%