Showing posts with label Notepad Trick. Show all posts
Showing posts with label Notepad Trick. Show all posts

How to make CMD look like matrix

This is a simple trick to make command prompt look like matrix

Open notepad, and paste this code into it: 


@echo off

cls

color 02

ping localhost -n 4 >nul

goto matrix

 isplayText

set /a dispvar =1

set /a len +=1

 isplayLoop

CALL SET str=%%string:~0,

%dispvar%%%

cls

echo %str%

ping localhost -n 1 >nul

set /a dispvar +=1

if ‘%dispvar%’==’%len%’ goto

enddisplay

goto DisplayLoop

:enddisplay

exit /b

:matrix

setlocal enabledelayedexpansion

for /l %%A in (1,1,39) do (

set /a rnd=!random!%%5+1

if !rnd!==1 (

set /a rnd2=!random!%%26+1

set num=1

for %%A in (I) do (

if !rnd2!==!num! (

set add=%%A

)

set /a num+=1

)

) else set /a add=!rnd!%%2

set var=!var! !add!

)

echo !var!

call :matrix



Now save it as for example matrix.bat, you can call it whatever you want, if you just remember to save it with the .bat extension.

Matrix
Read More
Sajan shrestha. Powered by Blogger.

Popular Posts

© 2012 Computer tricks and Pranks, AllRightsReserved.

Designed by Computer Tricks and Pranks