Scripting Runtime DLL Library Overview

This section describes the Scripting Runtime DLL library, scrrun.dll, which offers Dictionary objects to store pairs of keys and values. scrrun.dll also offers FileSystemObject objects for you to manage local file systems.

Microsoft provides a number of runtime objects through a single DLL library: c:\windows\system32\scrrun.dll:

scrrun.dll is available for client-side scripting with IE, server-side scripting with IIS, and shell scripting with WSH. But using FileSystemObject and related objects on the client side with IE is restricted for security reasons.

Table of Contents

 About This Book

 Introduction of VBScript - Visual Basic Scripting Edition

 Variant Data Type, Subtypes, and Literals

 Arithmetic Operations

 Numeric Comparison Operations and Logical Operations

 String Operations - Concatenation and Comparison

 Variable Declaration and Assignment Statement

 Expression and Order of Operation Precedence

 Statement Syntax and Statement Types

 Array Data Type and Related Statements

 Array References and Array Assignment Statements

 Conditional Statements - "If ... Then" and "Select Case"

 Loop Statements - "For", "While", and "Do"

 "Function" and "Sub" Procedures

 Built-in Functions

 Inspecting Variables Received in Procedures

 Error Handling Flag and the "Err" Object

 Regular Expression Pattern Match and Replacement

scrrun.dll - Scripting Runtime DLL Library

Scripting Runtime DLL Library Overview

 "Dictionary" Objects to Store Keys and Values

 "FileSystemObject" Objects to Manage File Systems

 "Drive" Objects Representing Disk Drives

 "Folder" Objects Representing File Folders

 "File" Objects Representing Files

 "TextStream" Objects Representing File Input and Output

 Creating Your Own Classes

 IE Web Browser Supporting VBScript

 IIS ASP Server Supporting VBScript

 WSH (Windows Script Host)

 References

 PDF Printing Version