Computers & Internet Books:

Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools


Paperback / softback

Customer rating

Click to share your rating 0 ratings (0.0/5.0 average) Thanks for your vote!

Share this product

Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools by Brian Knittel
Save $45.00
$78.99 was $123.99
or 4 payments of $19.75 with Learn more
In stock with supplier

The item is brand new and in-stock in with one of our preferred suppliers. The item will ship from the Mighty Ape warehouse within the timeframe shown below.

Usually ships within 10-14 days


Delivering to:

Estimated arrival:

  • Around 7-13 November using Express Delivery
    Mighty Ape can deliver this product within 1-2 business days (usually overnight) to urban centres across Australia, and some remote areas. Learn more
  • Around 8-15 November using standard courier delivery


The addition of the mouse and the Graphical User Interface made the computer accessible to many more people than would have been possible otherwise. Still, "pointing and clicking" can be tedious when performing routine or repetitive tasks. Just as people learn to use menu shortcuts (the Alt key) to save time, savvy users and administrators learn to write batch files and scripts to avoid having to type the same commands over and over. Scripts save time, increase accuracy, and serve as documentation to boot. Windows 7 and Windows Vista come with scripting, batch file, and command line tools that can make a power user or administrator's life easier - if she or he knows what they are and how to use them. However, a general lack of information and awareness prevent their widespread use. Most current Windows users have no idea how powerful and effective these tools can be. The new scripting languages are a mystery to most Windows users. And, in Windows 7, most command line tools aren't even discussed in the Windows Help system. Microsoft has released a completely new scripting and command line environment called the Windows PowerShell, but few users are aware of its existence, let alone its power and potential.

Table of Contents

Section I - Scripting with Windows Script Host 1 Windows Script Host What Is a Windows Script? Scripting Languages A Simple Script Script Files Running Scripts Security Concerns Debugging Scripts Where to Get More Information 2 VBScript Tutorial Introduction to VBScript Flow Control VBScript Functions Interacting with the User Advanced VBScript Topics Where To Go From Here 3 Scripting and Objects Introduction to Objects Using Objects with VBScript Using Objects with JScript Using Objects with ActivePerl Using Objects with ActivePython Using Objects with Object REXX Using the WScript Object Locating and Using Unusual Objects 4 File and Registry Access Getting Real Work Done Manipulating Files and Folders Reading and Writing Files Reading and Writing XML and HTML Manipulating Programs and Shortcuts Working with the Environment Working with the Registry 5 Network and Printer Objects Managing Network and Printer Connections Displaying Network User Information Managing Drive Mappings Managing Network Printer Connections Printing from Scripts 6 Messaging Objects Sending E-mail from Scripts The CDO Object Model Sending a Message with CDO 7 Windows Management Interface (WMI) Introduction to Windows Management Instrumentation Enabling WMI on your Network's Computers Making WMI Connections WMI Collections and Queries WMI Applications For More Information 8 Active Directory Scripting Interface (ADSI) Managing the User Directory ADSI Concepts ADSI Objects for the WinNT: Provider IIS and Exchange Managing Active Directory Active Directory Objects Developing ADSI Scripts For More Information 9 Creating Your Own Scriptable Objects Why Create Your Own Objects? Programming Language Options Creating Objects with WSC Files Using the Windows Script Component Wizard WSC File Format Reference Creating a WSC Component Creating a Practical Object 10 Deploying Scripts for Administration and Management Using Scripts in the Real World Using WSF Files Deploying Scripts on a Network Creating Simple Installation Programs with IExpress Writing Scripts to Manage Other Computers Scripting Security Issues Setting Up Logon Scripts Scheduling Scripts to Run Automatically Section II - The Command Line Environment 11 The CMD Command Line Shell The Command Prompt Command-Line Processing Configuring the CMD Program Built-in Commands Running CMD Getting More Information 12 Batch Files for Fun and Profit Why Batch Files? Creating and Using Batch Files Batch File Programming Displaying Information in Batch Files Argument Substitution Argument Editing Conditional Processing with If Processing Multiple Arguments Working with Environment Variables Processing Multiple Items with the For Command Using Batch Files Subroutines Prompting for Input Useful Batch File Techniques 13 The MS-DOS Environment under Windows MS-DOS Programs on Windows Vista Configuring the MS-DOS Environment MS-DOS and Networking Printing from MS-DOS Configuring Serial Communications with MS-DOS Using Special-Purpose Devices for MS-DOS Managing MS-DOS Programs 14 Command Line Utilities Windows Command-Line Programs The Essential Command Line GUI Shortcuts General-Purpose Shell Programs File-Management Tools Management Power Tools Administrative Tools Networking Utilities Section III - Introduction to Windows PowerShell 15 Windows PowerShell The Windows PowerShell Environment Windows PowerShell and .NET Scripts and Shells and Cmdlets, oh my PowerShell Commands PowerShell Security 16 PowerShell Programming Windows PowerShell Syntax Variables and Types Flow of Control Defining Functions Variable Scope 16 Using PowerShell Working Interactively Creating Useful Scripts Creating Cmdlets as Building Blocks Appendices A VBScript Reference B Windows Management Object Reference C WSF File Format Reference D Batch File Language Reference E Windows Power Shell Language Reference F Command Line Program Reference G Index of Patterns and Sample Scripts

Author Biography

Brian Knittel has been a software developer for more than 20 years. He has coauthored five titles in Que's Special Edition Using series, covering Microsoft Windows Vista, XP 2000. He also co-authored Upgrading and Repairing Windows with Scott Mueller, and is the author of Windows XP Under the Hood. Brian lives in Oakland, California, and spends his free time restoring antique computers, snowboarding and trying to perfect his wood-fired pizza recipes.
Release date Australia
December 1st, 2010
Country of Publication
United States
Que Corporation,U.S.
Product ID

Customer reviews

Nobody has reviewed this product yet. You could be the first!

Write a Review

Marketplace listings

There are no Marketplace listings available for this product currently.
Already own it? Create a free listing and pay just 9% commission when it sells!

Sell Yours Here

Help & options

  • If you think we've made a mistake or omitted details, please send us your feedback. Send Feedback
  • If you have a question or problem with this product, visit our Help section. Get Help
  • Seen a lower price for this product elsewhere? We'll do our best to beat it. Request a better price
Filed under...