?
Solved

opening multiple dos command with ping -t from a .BAT file

Posted on 2009-05-11
4
Medium Priority
?
861 Views
Last Modified: 2012-05-06

I am  hoping to use a .VBS or .BAT file to lunch multiple CMD windows, each window  pinging a computer with the -t variable.

ping.exe computer1 -t
ping.exe computer2 -t
ping.exe computer3 -t

each of these being in a separate window, all windows launching and running at the same time.

Any thoughts on how I can do this?

Thank you
0
Comment
Question by:ChicagoMikeW
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 1800 total points
ID: 24356218
use "START"

start ping.exe computer1 -t
start ping.exe computer2 -t
start ping.exe computer3 -t
0
 
LVL 22

Assisted Solution

by:Christopher McKay
Christopher McKay earned 200 total points
ID: 24356221
Use the "start" command.

batch file example:

start ping computer1 -t
start ping computer2 -t
start ping computer3 -t




Hope this helps!

:o)

Bartender_1
0
 
LVL 22

Expert Comment

by:Christopher McKay
ID: 24356236
Looks as if I'm a bit slow on the draw.

Sorry BrandonGalderisi, I didn't intend to duplicate you.

:o)

Bartender_1
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 24356266
... and to make it more compact, let's FOR it ... and run all that windows minimized.

for %C in (computer1 computer2 computer3) do start /min ping -t %C

(In batch file, use %%C in both occurances)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question