VBScript is a combination of Visual Basic and JavaScript, developed by Microsoft. You can use this language to play pranks on your friends and family. Furthermore, you can use it cause serious harm to other systems. For more commands click here.
Command | About |
---|---|
WScript.Echo "Hello" | Prints "Hello" to the console |
MsgBox() | Message box pop up. You can put any thing in double quotes to prompt |
do loop |
An endless loop |
wscript.sleep 100 | Sleep for 100 milliseconds |
wshshell.sendkeys "{CAPSLOCK}" | Send CAPSLOCK key to the active window |
Set wshShell =wscript.CreateObject("WScript.Shell") | Create a new instance of WScript.Shell object |
wshshell.sendkeys "{ENTER}" | Send ENTER key to the active window |
WshShell.SendKeys "Character_string_and/or_SendKeys" | Send a string of characters to the active window |
CreateObject("Wscript.Shell").Run (strCommand, [intWindowStyle], [bWaitOnReturn]) | Run a command in the active window |
For more commands click here.
A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file. You can use this command-line to play pranks on your friends and family. Furthermore, you can use it cause serious harm to other systems.