Notepad Tricks and Hacks for Fun

notepad tricks


Notepad Tricks and Hacks for Fun

1. Shut down your pc:


copy the below code in notepad for making a shutdown file.




              @echo off
msg * Computer will now shut down
shutdown -c “onemadgeek.com.” –s

Now save it with filename  "shutdown.bat" and Save as type "All Files". 
Done!
Now you can Double click on the file and you can shut down your pc directly.
       

2. Open Notepad continually in your friend's computer: 


 copy the below code in notepad for making this batch file.


@ECHO off

:top

START %SystemRoot%\system32\notepad.exe

GOTO top



Save it as "Anything.BAT" and send it.


3.Text to Speech (Reading Text) by Notepad


copy and paste the below code in notepad

Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message


Now Save the file as speak.vbs
Open the saved file. A popup box will appear. Enter the text in this box and click the OK button.
You will hear the computer reading out your text. Make sure your speakers are on.

4.Matrix Effect

Paste the below code for Matrix Notepad Trick


@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Now save it as "anyname.bat" and open the file. You will able to see the matrix effect on the screen.


Note:- Try these notepad tricks your own risk. This is just for educational purpose.
           Restart your pc if you opened the file by mistake.


Read About Introduction to .NET Framework

For more interesting topics visit Techfunda.




Post a Comment

0 Comments