Matrix type running numbers using batch file

Ever wanted to see a running matrix type window with black background and green random numbers.

Here is a very simple code to do this:

  • Open Notepad and type the following code:
  • @echo off
    color 2
    :looplabel
    echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
    goto looplabel
    
  • Save this file as "matrix.bat" (with quotes i.e. a file named matrix with extension .bat)
  • Double click this batch file and see the matrix.
  • Press Ctrl + C or close the Command Prompt window to stop this script.