Basic Windows Script Host Tasks

This section contains several commonly used Windows Scripting Host 5.6 scripts, which demonstrate basic functions.


The scripts presented in the following tasks are virtually the same for developers using JScript or VBScript. When applicable, differences between the scripting models are noted. In addition, each task is written in both JScript and VBScript.

In This Section

Accessing Networks

Creating an Automated Login Script

Driving Applications

Executing File Management Operations

Managing Shortcuts

Manipulating the System Registry

Running Scripts Remotely

Signing a Script

WSH and Windows Management Instrumentation (WMI)

WSH Walkthrough

WSH Network Administrator Sample Script

WSH Language