Solved

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

Posted on 2009-05-11
4
858 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 450 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 50 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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

690 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