A cool trick you can use to show off to your friends, or just to simply play around with is making a matrix rain looking thing in command prompt. To do this you must:

  1. Open notepad, this is where we will type the code.
  2. Copy and paste this: @echo off
    color 02
    :start
    echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
    goto start
  3. This is the code that will generate random numbers at a very rapid pace making it look like the matrix rain, it will also color it green for added effect.
  4. Save this document but WAIT!
  5. Instead of saving it as a text document, change the drop down menu from .txt, to all files.
  6. Name the file matrix.bat, you can name it anything you want really, but it HAS to have .bat at the end for this to work properly.
  7. Once you've saved it, open the file and BAM! It should be working!

If it isn't working, then the chances are you copied the code wrong. Also, if you want to change the color of the text and/or background in command prompt, then you can play around with the "color 02" portion of the code and make it any color you'd like. Such as color a4, or color d5. Open command prompt and type "color" for a full list of the combinations you can make.

I hope this article helped you!

All comments are welcomed, thanks you reading, happy coding!


Promote This Column on Other Sites: