• Home
  • Search Tags
  • About

vbscript

Topics related to vbscript:

Getting started with vbscript

VBScript (VBS) is a Visual Basic-flavored scripting language for Internet Explorer and Windows. It can be used on the web in principle, like JavaScript, but does not have much support, so it's usually confined to standalone or server-side scripts in business environments that use Windows exclusively.

InputBox

1All arguments except prompt are optional.
2helpfile and context are coupled - if one is supplied, the other must also be supplied.

Using Classes

Arrays and Loops

Strings

MSDN Date/Time, String and Numeric Functions

https://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx

Creating Your First Script

Dictionary Objects

Include files

A few things to keep in mind when using the IncludeFile(p_Path) method :

  • There is no limitation of file type that can be included but the included files content must be VbScript.
  • If there is a syntax error in the included file, you will not get the line/column of the error.
  • You must define and initialize std_internal_LibFiles before the first call to IncludeFile(p_Path)
  • You can use IncludeFile(p_Path) anywhere in your code, including other methods.

WMI queries

FileSystem Objects

Content on the page is taken from Stack Overflow Documentation

This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service