is a subset of Visual Basic
used in Active Server Pages
and in Windows Scripting Host
as a general-purpose scripting language. VBScript is often used as a replacement for DOS
VBScript is interpreted by a script engine, either ASP in a web environment, wscript.exe in a Windows environment, and cscript.exe in a command-line environment.
VBscript files typically have the file extension
Example program (to put into a file 'hello.vbs'):
msgbox "Hello world"
If the Windows Scripting Host
is installed correctly and activated the program will run when the icon is double-clicked.