Unbelievable Things You Should Know About NOTEPAD

Unbelievable Things You Should Know About NOTEPAD
Unbelievable Things You Should Know About Notepad

Notepad is the simple text editor provided by the Microsoft Company. Most of the people start learning their basics of the computer with this Notepad tool. It is the basic text editor, in which we can write some quick notes and save. When we save the Notepad files those will be saved with the extension called .txt which means text. But people will underestimates about this Notepad that it's just a simple text editor to note down some points. But Notepad also has many features, commands. In this article let's know the tricks and hacks of the Notepad. The following are such some, try these and enjoy the best out of this simple editor Notepad.

#1. Test Antivirus with this Notepad Script:

       With this Notepad Script we can check our Antivirus Software.   
  • Open Notepad and save the below Script


 X5O!P%@AP[4PZX54(P^) 7CC)7}$EICAR-STANDARD- ANTIVIRUS-TEST-FILE!$H+H*  

  •         Save this file with the any name but with the .exe extension. Ex: “techstotle.exe”.        Open the file and see whether your Antivirus detecting that file as a virus or not.

Techstotle.com


#2. Shutdown your windows:

       We can shutdown our windows with the following Script.
  • Open notepad and paste the below script


@echo offmsg * Shutdown computershutdown -c “Sleep Tight” -s  

  •         Save the file with the any name but the .bat extension. Ex:  “shutdown.bat” Now open this file and see windows automatically gets shutdown.

Techstotle.com



#3. Create Fake Error Message:
        With this Script you can create Fake windows error messages with any information.
  • ·        Open the Notepad and copy the following code into your notepad


  •   X=Msgbox(“type Message Here”,0+16,”type Title Here”)  

  •         first double quotes write error message and in second double quote write title of that error.

Ex: X=Msgbox(“Your windows will Restart Now. Please press OK button. (Message Here)”,0+16,”Windows Has Encountered Serious Problem (Title Here)”)
  • ·        Save this file with error.vbs and open this file. So you will get above mentioned error message.



#4. Create Password Protected folder:

        We can lock a folder using following snipped of code.

·        Open Notepad and copy the following code

@ECHO OFFtitle Folder Privateif EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCKif NOT EXIST Private goto MDLOCKER:CONFIRMecho Are you sure you want to lock the folder(Y/N)set/p “cho=>”if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”echo Folder lockedgoto End:UNLOCKecho Enter password to unlock folderset/p “pass=>”if NOT %pass%== techstotle goto FAILattrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Privateecho Private created successfullygoto End:End

·        Techstotle in the above code is the password. You can change it to any text or password.
·        Save the file with “private.bat” as All Files(*.*)
·        Open the private.bat , copy some files and folders in it and close it. Now try to open the private.bat file it will prompt you to type password.

Techstotle.com

#5. Convert Text to Audio:
    We can convert any text into an audio format.
·        Open the Notepad and copy the following code

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

·        Save this file with .vbs extension Ex: “audio.vbs”
Open the audio.vbs file and enter the text in TextBox and click on ok button.

Techstotle.com


#6. Create Matrix green text rain effect:
        Everyone might have impressed Green text rain effect on black screen. We can create such kind of matrix green text rain effect.
  • ·        Open Notepad and copy the following snippet of code


@echo offcolor 02:startecho %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%goto start
  •  ·        Save the file as “matrix.bat” and open it.



#7. Make keyboard LED lights to Dance:

We can make the keyboard lights (capslock,numlock,scrolllock) on and off continuously.
  • ·        Open Notepad and copy the below code


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

  • ·        Save the file as “dance.vbs” and open it.

·        To stop lights, we have to shut down or log off the computer.


Techstotle.com


   #8. Bush Hid The Facts:
       This trick works only in older versions of windows because of bug in older windows.
  • ·        Open Notepad and type “bush hid the facts” or “this app can break” or “Bill fed the goats”
  • ·        Save with any name with .txt extension Ex: “bush.text”
  • ·        Open the file and see the text.Text will changed to some Unicode characters.




Techstotle.com


   #9. Force CD Drive to pop out continually:
        With this trick we can make the CD Drive pop out continually.
  •         Open Notepad and copy the following code

Set oWMP = CreateObject(“WMPlayer.OCX.7”)Set colCDROMs = oWMP.cdromCollectiondoif colCDROMs.Count >= 1 thenFor i = 0 to colCDROMs.Count – 1colCDROMs.Item(i).EjectNextFor i = 0 to colCDROMs.Count – 1colCDROMs.Item(i).EjectNextEnd Ifwscript.sleep 5000loop     
  •        Save this file with the name “cdtrick.vbs” and open.

    To stop the popping out of the CD Drive we need to reboot the system.


    #10. Create a Diary or Log Book:
       With this Notepad trick we can use Notepad as like a diary. Whenever we write anything in the Notepad, Notepad will create Time and date of the creation.
  • ·        Open Notepad and Type .LOG
  • ·        Save the notepad as “Diary.txt”

·        Write something in the notepad, it will automatically adds the time and date of the creation.

Techstotle.com

     #11. Display Messages on screen repeatedly:
            With this trick you can display group of messages on the screen repeatedly.
  •  Open Notepad and copy the following code.

@ECHO off:Beginmsg * Hello !msg * How do you do?msg * Having fun?msg * Don't worrymsg * Try to close the dialog boxGOTO BEGIN

  • Save the file with .bat extensions ex: “techstotle.bat” 




      #12. Pressing Backspace automatically:
            With this script Backspace button will be pressed automatically.
  •          Open Notepad and copy the below code
MsgBox “Backspace again and again and AGAIN”Set wshShell=wscript.CreateObject(“WScript.Shell”)DoWscript.sleep 100Wshshell.sendkeys “{bs}”Loop
  •          Save this file with any name but with .vbs extension
  • ·         To stop the program we must restart the compuer.
  Conclusion: These are the Unbelievable Things You Should Know About NOTEPAD. You can prank your friends by sending these files to their Computer. Hope you like the post and share with your friends and leave a comment below if you have any queries. Thank you.


Share on Google Plus

About Satya

Satya is an IAM Engineer and the Editor of Techstotle.com. He possesses a deep passion for Identity and Access Management (IAM) technologies, with a particular focus on PingFederate and PingAM. Satya is dedicated to demystifying these complex technologies and making them accessible to a wider audience. Techstotle.com serves as a one-stop shop for the latest IAM insights, featuring comprehensive tutorials on PingFederate and PingAM. Join Satya on this journey of tech exploration as he empowers you to navigate the ever-evolving world of IAM.

1 comentários: