Pages

Wednesday, October 20, 2010

Print a message as many times you like!


This fun hack is a VB script which will keep on displaying "You are a fool." and even can make the computer to hang as this will keep on displaying for "n" number of times.

For this VB script we just need to type the following command in the notepad::


Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop

and save it as "anyname.vbs".

Enjoy The Fun Of Scripting ...

0 comments:

Post a Comment