Top Useful Notepad Hacks

We use Notepad to write some notes. We can do lots of Useful things using Notepad. Here we give some of them. To use these Hacks no any programming knowledge and skills are required.

Shutdown Your Computer

Open Notepad, copy and paste these command.

@echo
msg * Shutdown Computer
shutdown -c "Shutdown Computer within minutes" -s

save it as the shutdown.bat file. Now, open the file. For restart just replace  -s to  -r  

Create a fake Windows error



Open notepad and write these code

X=Msgbox("Message Here",0+16,"Tittle Here")

Replace your message with "Message Here" and Tittle with "Tittle Here" 

Now save it as .vbs file.(Ex:-Error.vbs). Now, Open it.


Add date and Timestamp 


This Notepad trick will allow us to create Notepad note in such a format that whenever we edit our note, it will get saved with date and timestamp automatically. By this way, we can create Diary with Notepad.

Open Notepad, Type   .LOGin  first line. Save the file as .txt format. Now, write something to the file and it will automatically get saved with the edited date and time.

Make Computer to speak your sentence


This Notepad trick will make computer to speak whatever you write.

Open Notepad, Copy and Paste these command

Dim message, sapi
message=InputBox("What do you want to say", "Just Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

Now, save the file as .vbs format. (Ex:- Talk.vbs)
Double-click the file and it will open a prompt. Enter the sentence you want your
computer to speak. Click OK and Notepad will speak the sentence for you.



Create Matrix Raining Code Screen


Open Notepad, Copy and paste these command

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

Save it as .bat format (ex:- Matrix.bat). Click on it.
Note that all %random% should be in one line.

For different effect use these code

@echo off
:a
color 2
echo 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 1
ping localhost -n 1 > nul
echo 1 1 0 1 1 1 0 0 0 1 0 1 a f h 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0
echo 1 0 0 1 1 0 9 8 1 2 0 1 9 9 2 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 1
ping localhost -n 1 > nul
echo 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 01 0 1 0 0 1 0
ping localhost -n 1 > nul
echo 1 0 1 1 1 0 1 1 0 9 1 1 2 1 1 0 9 1 0 5 7 7 8 7 8 1 3 2 1 2 1 2 3 2 1 3 4
ping localhost -n 1 > nul
echo 1 1 1 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 1 4 1 2 1 1 2 0 1 0 1 2 2 1 0 1 1 0 1
goto a


Make Keyboard LED Dance


Your keyboard has three LEDs above numpad of Scroll Lock, Caps Lock, and Num Lock. This Notepad trick will make those three LED continually on and off, creating dancing effects.
Open Notepad, Copy and Paste following code

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

Save it as .vbs file. Now, open it.

Make CD Drive Open again & again


This notepad prank will make your CD drive open again and again continually. Whenever you close CD drive it automatically opens CD Drive.

Open Notepad, Copy and Paste these Command.

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

Save it as .vbs format. (Ex:- cdopen.vbs)
Now, open cdopen.vbs and it will start the process to continuously open CD drive.

To stop the process, open Task Manager by pressing Alt+Ctrl+Del and stop cdopen.vbs process. you can also log out, restart or shutdown your system to stop the process.

No comments:

Post a Comment

Wi-Fi password of All Connected Networks in Windows/Linux

Windows 1) Open CMD in administrator mode. 2) Type netsh wlan show profile  – It will show all profile of Wi-Fi which were earlier con...