VB SCRIPT EPISODE -01
MICROSOFT VISUAL BASIC SCRIPTING LANGUAGE (VBSCRIPT)
ERRORS AND CORRECTIONS
The above video shows the basic function of a script
Here the video contains a notepad mainly. Because it is a Good text editor we want to create our scripts, We can learn scripting by following me
So how to create our first script?
step 1: we need to open our text editor by clicking the windows button and type 'Notepad' and then Hit enter.
step 2: Write down the script. Let's start with the declaration and setting variables for our script by typing the following:
set (variable name) = CreateObject ("WScript. shell")
Example: set x=createobject("WScript.shell")
step 3: Follow the sequence of code
the file extension must be in .vbs extension then only the OPERATING SYSTEM recognizes it as an Script
msgbox this is an object that exists in the script to wake up like a pop-up-Box Which is shown in the video
syntax : msgbox(sequence of parameters)
MY script:
set x=createobject ("wscript.shell")
x.sendkeys MsgBox ("YOU WERE HACKED BY SANDEEP KASTURI")
THANKS FOR VIEW


0 Comments