About Me

My photo
ASSISTANT PROFESSOR DEPARTMENT OF CSE ST.MICHAEL COLLEGE OF ENGINEERING AND TECHNOLOGY KALAYARKOIL.

tricks

1.    CONVERT TEXT INTO AUDIO USING NOTEPAD
                 •     Open notepad
                 •    Copy and paste following code

                          Dim Message, Speak
                           Message=InputBox("Enter Text to Talk o","Speak")
                          Set Speak=CreateObject("sapi.spvoice")
                          Speak.Speak Message
                  •    Save this file with any name with extension as .vbs eg. voice.vbs
                  •    Now open the saved file and have fun.




    2. CONSTANTLY REPEAT A MESSAGE

         •    Open the notepad
         •    Copy and paste following code
         •   
           @ECHO off
           :Begin
            msg * Hello
           msg * How are you?
             msg * Having fun!
            msg * Want more!
            msg * Lets start again
          GOTO BEGIN

        •    Save the file with .bat extension eg. fun.bat
        •    Open the saved file and see the magic.
3.    SHUT DOWN THE COMPUTER AFTER SHOWING A MESSAGE USING NOTEPAD

        •    Open the notepad
        •    Copy and paste the following code

         @echo off
           msg * Its time to take some rest.
           shutdown -c “Byeeeeeeeeeeeeee” –s

        •    Save the file with any name but with .bat extension eg. shut.bat
        •    Close it
        •    Now if someone opens this file it will convey the message and
             forcefully  shutdown the computer.


4.    TEST YOUR ANTIVIRUS

       •    Open the notepad
       •    Copy and paste the following code

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

      •    Save the file with any name with .exe extension
      •    Close the notepad
      •    Now open the file. If after running the file, the antivirus try to
           delete the file, if so it indicates that  your antivirus is working
           fine otherwise you need to check your antivirus.
5.     LAUNCH THE NOTEPAD INFINITELY AUTOMATICALLY

     •    Open the notepad
     •    Copy and paste the following code

           @ECHO off
            :top
            START %SystemRoot%\system32\notepad.exe
            GOTO top

     •    Save the file with .exe extension eg. note.exe
     •    Open the file and see the magic

6.  Notepad Trick to Lock Folders

  • Lets lock a folder using notepad trick which is named as PICS in your D: drive , whose path is D:PICS
             Then the code should be something like this:
             ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}
             Pics is your folder name. Use the name of the folder in place for pics. Save the    text file as lock.bat in the same drive  

    7.  Notepad Trick to Unlock Folders

    • Open another new notepad text file and type the following:

                     ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics

    • Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it to the folder name you want to lock it.

 












 


1 comments: