GAMES
  UTILITIES
  PALM PILOTS
 SCREENSAVERS
 BUSINESS
 GRAPHICS
 INTERNET
 MAC
 AND MORE!

PC Magazine

  PC Tech

The Windows Scripting Host

Introduction

Active Scripting

The Windows Scripting Host Object Model

The WshShell and WshNetwork Objects

Putting It Together

Figure 1: Mapping Network Drives

Figure 2: Creating URL Shortcuts



X10.com - The SuperSite for Home Automation!

NextCard Internet Visa - Apply Now

 
  Categories:
Scripting Languages
Windows 95/NT
Operating Systems
The Windows Scripting Host
Run JavaScript and Visual Basic scripts natively within Windows 95 or Windows NT 4.0

By Paul Modzelewski

As a Microsoft Windows user, you may have been frustrated by the lack of scripting tools. If only there were a tool comparable to AppleScript on the Macintosh. DOS batch files aren't really Windows-aware, and third-party tools have some problems: They usually cost a lot of money, and you can't depend upon a user having them installed. Luckily, Microsoft recently released its Windows Scripting Host, the long-awaited replacement for DOS batch files. To understand exactly what the Windows Scripting Host is and why you should care, you need to understand a little bit about Active Scripting.

You'll need the Windows Scripting Host to use the examples presented in this article. Microsoft's latest version of the Internet Client SDK (a.k.a. Platform SDK, ActiveX SDK, and Sweeper) includes it. If you don't want to download over 100MB just to get it, you can also find it at www.microsoft.com/management/WSH.htm.

Continues. . .

Published as Operating Systems in the 02/10/98 issue of PC Magazine.


 SPONSORED LINKS
@Backup   Your Solid Online Backup Plan. Download Now.
Services   9c/MINUTE LONG DISTANCE, 5c/MINUTE ON SUNDAYS!
STORAGE   Quantum means non-stop business, 24 hours a day
Software   X10.com -- The SuperSite for Home Automation
Books   Bargain Books up to 90% off at barnesandnoble.com
 ZDNET FEATURED LINKS
Downloads   Check out the best new downloads in Reviewer's Raves
Bargains!   Shop the Basement for best buys on computer products
Free Help   Got computing questions? ZDHelp has all the answers!
 MAGAZINE OFFERS
Free Offer   Get a FREE SUBSCRIPTION to Inter@ctive Week

TOP
Copyright (c) 1998 Ziff-Davis Inc.