super cool notepad tricks

SUPER COOL NOTEPAD TRICKS-

Notepad is the simplest text editor provided by windows operating system. Most of the windows users ignore the real power of notepad, notepad can leads to creation of an interesting game and also can leads to the destruction of whole operating system. So lets start with some interesting tricks of notepad-

Trick no. 1-
By this trick you can create a file which will shutdown your computer by displaying a message. Just copy the code given below and save it as anyname.bat(.bat extension is necessary) in your windows notepad-
 @echo off
cls
msg * your message here
shutdown /s

Trick no. 2-
This notepad trick will create your personal diary-
Open notepad and type .LOG in your notepad and save it as any name
Now your personal diary is created.

Trick no. 3-
Create your password locked folder
Copy the code given below to your and save it as anyname.bat-
Cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST secured goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the secured(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren secured "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s +r +i "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo secured locked
goto End
:UNLOCK
echo put in the key to Unlock the lock
set/p "pass=>password"
if NOT %pass%==yourpasswordhere goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" secured
echo secured Unlocked
goto End
:FAIL
echo Invalid keyword
goto UNLOCK
:MDLOCKER
md secured
echo lock unlocked
goto End
:End
pause         
Now your password locked folder is created.

Trick no. 4-
This trick will create a matrix effect as seen in movie “the matrix”.
Copy the following code to your notepad and save it as matrix.bat(.bat is necessary)-

@echo off
:a
color 0a
Echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
Goto a
Pause

Trick no. 5-
 Continually Pop Out CD Drive Using Notepad
Don’t you think it would be fun if you could play with your friend by making his cd-drive pop again and again? Just enter the text below into notepad and save it as a .vbs file. Double click on the .vbs file to see it work.
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

 Trick no. 6
Open notepad again and again.
Just copy the following code to your note pad and save it as anyname.bat.
@echo off
:b
Start %systemroot%\system32\notepad.exe
Goto b

When you open the file notepad is start opening again and again. To abort this process press ctrl+c.


 Trick no. 8        
Typing something again and again
A code to type something again and again is mentioned below, you can use it to write anything again and again and again, until you get it out of the loop.
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “I'll be typed again and again”
loop
 save it as any name.bat



1 comment: