Notepad Trick

 Cool Notepad  Tricks

So hey guys, in this blog I will be showing you some cool notepad and cmd tricks and codes.
None of them will seriously damage your computer, but you do them at your own risk.
These codes and tricks work for windows.
Scroll down the page for the CMD codes.

Notepad

All these tricks will be done in notepad which is the text editor that is included in
nearly all windows machines.

Remember, most scripts will either have a ‘.vbs’ or a ‘.bat’ file extension, don’t forget to add them on when saving the file.

So, to open notepad, just hit start>all programs> accessories>Notepad
or type in the CMD ‘start notepad.exe’

1. Message popups

This is a cool trick, that can get really irritating to unsuspecting friends.

in notepad, type, or copy and paste this:

do
MsgBox “your text here”
MsgBox “your text here”
MsgBox “your text here”
loop

This code will bring up a message pop up, saying whatever you type into the script.
I have put 3 message boxes before it loops back to the start, but you can put as many as you want,
simply by adding more of the line in the script. Make sure that you put it before ‘loop’ though.

This is my example

Then save it as ‘anything.vbs’

2. Diary log

This little trick is very good and easy to use.

Just open up notepad and type:

.LOG

Then save it as whatever you want to call it, close it, and re-open it, and you will have a diary type

entry, telling you the date and time. Type your entry/message, save it, and the next time you open it, it will be there.

3. Jam on a friends caps lock

This trick is very amusing and it will jam on the caps lock key on who ever opens the file.

open notepad and type:

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

and save it as ‘capslock.vbs’

This can fixed with a simple restart

6. Shutdown

This trick shuts down the computer after displaying a message. It goes without saying that this can be dangerous and can cause people to lose unsaved work.

open notepad
type:

@echo off
msg * your message here
shutdown -c “your message here” -s 30

Now save the file with any name, but make sure it has the ‘.bat’ extension


2.Open Notepad.

Copy the below mentioned text in your notepad file:

@echo off

color 02

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start
Save the file with .bat extension like Matrix.bat

Thats it. Just open the file to see the matrix effect right before your eyes!


3.NOTEPADE “HIDE TEXT” MAGIC

· Open notepad and type 4 words separated by spaces. The letters of these words should be 4,3,3,5. For example you can write “mark the kid ahead” or “boys are not quick” it is also called 4335 rule.

· Save this file with any name.

· Reopen your file and see magic


 4 .Dancing Keyboard Light

In this part i will show you to make interesting file using notepad which will make keyboard led to dance. basically we will be creating a visual basic script. 1. Open Notepad and copy below codes into it.

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop

Then save this file as dance.vbs (name can be anything but .vbs is must)

Open your save file and see your keyboard led blinking like disco lights. 


Deactivate lights

Open Task manager
Go to process
Click on the wscript.exe and click End Process.
Now your Keyboard LEDs stops dancing.


 How To Disable Right Click On Your Website Or Blog ? 

If you own a blog or a website then you always want to prevent other malicious bloggers from copying the content from your blog. You might have written an article with great efforts and lots of research and other just copy/paste it on their blog. To prevent such users from copying content from your blog i will show you Javascript Trick to disable right click on your blog.

 1. Got to your blogger Dashboard and then Click on Layout.

2. Now Click on Add Gadget and select Html/Javascript.

3. Now paste code given below in the pop up window.

 4. Save it and done. Now users will not be able to right click on your website.

Leave a comment