VBScript
From Free net encyclopedia
VBScript (short form of Visual Basic Script Edition) is an Active Scripting language interpreted via Microsoft's Windows Scripting Host. The language's syntax reflects its pedigree as a variation of Microsoft's Visual Basic programming language. It has gained significant support from Windows administrators seeking an automation tool more powerful than the batch language first developed in the late 1970s.
VBScript is interpreted by a script engine vbscript.dll, which can be invoked by ASP engine asp.dll in a web environment, wscript.exe in a Windows GUI environment, and cscript.exe in a command-line environment. When VBScript source code is contained in stand-alone files, they typically have the file extension .vbs.
When employed in Internet Explorer, VBScript is very similar in function to JavaScript –- it processes code embedded in HTML. VBScript can be also used to create stand-alone HTML applications (file extension .hta) which require Internet Explorer 5 or later to run. Web developers may prefer to use JavaScript instead for better compatibility with alternative web browsers.
VBScript is the language that was used to write some notable e-mail worms, such as ILOVEYOU. There are several reasons for this. First, the scroll-like icon representing VBS files may lure users with little Windows experience to think that it's a text file. Second, it is easy to write a basic e-mail worm in VBScript in just a few lines of code. Microsoft has since fixed the security holes that such worms exploited.
VBScript is widely considered one of the weakest scripting languages, due to its limited feature set and poor design, although both deficits are often masked by wide integration and heavy marketing by Microsoft during the 1990s.
See also
External links
- VBScript User's Guide
- The Script Center - Script Repository
- Hey, Scripting Guy! - VBScript Column
- Learn VBScript at www.w3schools.comcs:VBScript
de:Visual Basic Script es:VBScript fr:VBScript it:VBScript he:VBScript nl:VBScript ja:VBScript pl:VBScript pt:VBScript ru:Visual Basic Scripting Edition sv:VBscript zh:VBScript