Encyclopedia > VBScript programming language

  Article Content

VBScript

Redirected from VBScript programming language

VBScript is a subset of Visual Basic used primarily in Active Server Pages and as a general-purpose scripting language. VBScript is often used as a replacement for DOS batch files.

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 .vbs.

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.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Shinnecock Hills, New York

... is spread out with 13.8% under the age of 18, 34.0% from 18 to 24, 17.6% from 25 to 44, 20.5% from 45 to 64, and 14.1% who are 65 years of age or older. The median ...

 
 
 
This page was created in 60.9 ms