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
Battle Creek, Michigan

... other breakfast cereals. Battle Creek was featured in the T.C. Boyle novel The Road to Wellville[?] and the movie of the same name. As of the 2000 census, the city had a ...

 
 
 
This page was created in 36.4 ms