wahle509
wahle509

Reputation: 684

Displaying text with VBScript when running from command prompt issue

I have a script that pings a list of computers and tells me if I can be reached. For each computer I would like it to display whether or not it was reached on the command prompt, not as a pop-up message. I did Wscript.Echo, but it does a pop-up for each computer so it's really annoying to have to click OK over a 100 times.

How can I make it display on the command prompt itself?

Upvotes: 0

Views: 1830

Answers (1)

AdamW
AdamW

Reputation: 1061

If you call it like this it will print to the console:

cscript myscript.vbs

Upvotes: 6

Related Questions