Solved

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

Posted on 2009-05-11
4
853 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
  • 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 69

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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