Chapter 4. The Power of Many

In this chapter, you’ll look at two very important concepts: passing arguments and working with arrays.

Before You Begin

To complete this chapter, you’ll need to be familiar with the following concepts:

  • The For Each command

  • The Do Until command

  • The For...Next command

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

  • Use command-line arguments

  • Use a text file in place of arguments

  • Create a useful error message when arguments are missing

  • Use named arguments

  • Create an array

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.