Sunday, October 3, 2010

notepad

What u can do with a help of notepad??


Trick 1 : To Know system time and date
just open a notepad

Now press "F5" and see the result.

Trick 2 : Make your keyboard a "live disco"
This code when executed makes your Caps, Num, Scroll lock keys flash. very attractive ...i have tried it..trust me!!

Instructions:
paste the code given below in notepad
Save as disco.vbs
Run the file

This piece of code makes your keyboard a live disco...

Code:

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

TO REMOVE LIVE DISCO ON KEYBOARD WITHOUT CHANGING CODE.
OPEN TASK MANAGER THEN IN PROCESSES END PROCESS WSCRIPT.EXE FILE.

Trick 3 : Appending the time and date to the end of the file
Open a blank Notepad file

* Write .LOG as the first line of the file, press enter.

* Save the file and close it.

* Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after.

* Type your notes and then save and close the file.

Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.

Trick 4 : shut down computer in 20 sec
run Notepad
and type tha following code:
cls/
shutdown-1
cls/
copycon**

save as .bat
then open it and ur pc will shutdown in 20 seconds.It does no harm ur pc.

It's easy to disable this shut down ....the timer will start ...press windows key+r come up run mrnu type this shutdown -i the shutdown timer is disable.....it's simple!

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...