For this trick you need a keyboard which has capslock, numlock  and scrolllock indicator.
Write the code shown below in the notepad and save it as key.vbs .

Set key =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 50
key.sendkeys "{CAPSLOCK}"
key.sendkeys "{NUMLOCK}"
key.sendkeys "{SCROLLLOCK}"
loop


Now open the key.vbs and you will see the capslock, numlock and scrolllock indicator bliinking alternatively.

Note:To stop this process open task manager and then stop the process shown below






It is the code in .vbs which allows you to print falling series of random numbers as shown above.

1.Open notepad.exe.
2.Type the following code in the notepad.

echo off
color 02
:MAT
echo  %random%%random%%random%%random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%%random%%random%%random%
goto MAT
3.Save above file as .vbs.
4.Open the vbs file and you will get the desired output.


It is just one line code in .vbs which allows you to listen desired message from your computer.You can use this application as narrator .

1.Open notepad.exe.
2.Type the following code in the notepad.
CreateObject("SAPI.SpVoice").Speak"Enter your message"
3.Save above file as .vbs.
4.Open the vbs file and you will hear the message written inside the " ".


Actually we are making a diary that keeps record of your data along with the current date and time in your notepad.

1.Open notepad.exe
2.Type .LOG in notepad and save it with any name.
3.Now open the notepad and you will see the current date and time of the system,then enter the data and close it.
(It saves your data each time with date and time of the system. )


TYPE THE FOLLOWING CODE AND COMPILE IT WITH C++ COMPILER

To Lock USB
#include<stdio.h>
int main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f");
return 0;
}

To Unlock USB
#include<stdio.h>
int main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 3 \/f");
return 0;
}

Followers