Chapter 2. Getting in the Loop

If you thought the last chapter went fast, wait until you get a load of our objectives for this chapter.

Before You Begin

In order to work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • How to run a script

  • How to declare a variable by using the Dim command

  • How to perform basic error suppression by using On Error Resume Next

  • How to connect to the file system object

  • How to read from the registry

After completing this chapter you will be familiar with the following:

  • Using For Each Next

  • Defining constants

  • Implementing collections

  • Using For...Next

  • Controlling script execution by using the Sleep command

  • Implementing line concatenation

  • Using Do While...Loop

  • Using ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.