O'Reilly logo

Microsoft® Windows® Scripting Self-Paced Learning Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Command-Line Arguments

Command-line arguments provide you with the ability to modify the execution of a script prior to running it.

In the Ping.vbs script, which you examined in Chapter 2, and which appears in the next code listing, you use the variable strMachines to hold the target of the ping command. To ping other computers on the network, you have to modify the values within the quotation marks (s1 and s2 in this instance). Modifying the values might be an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required