No announcement yet.

Batch that opens multiple pinging windows

  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch that opens multiple pinging windows

    Moderator edit: Post split from
    Remark: please No Thread Hijacking

    Hi Guys,

    Can anyone help
    If i used this ping command like

    ping hostname or ip1
    ping hostname or ip2
    ping hostname or ip3

    In a batch file all can be ping on a single window,

    but I'd like it to be in separate window, like one for pinging a new window for a hostname or ip1, and then the other window for hostname or ip2, and another pinging window for hostname or ip3

    can you help me to make the simple script?

    thanks in advance!
    Last edited by Rems; 8th July 2010, 11:21.

  • #2
    Re: Batch File to Find and ping default gateway automatically?

    before each line.

    start ping host1
    start ping host2
    start ping host3
    If you need the window to stay open after the ping command finishes, then

    start cmd /k ping host1
    Run cmd /? to see what its various arguements do.
    Last edited by gforceindustries; 8th July 2010, 12:00.
    Gareth Howells

    BSc (Hons), MBCS, MCP, MCDST, ICCE

    Any advice is given in good faith and without warranty.

    Please give reputation points if somebody has helped you.

    "For by now I could have stretched out my hand and struck you and your people with a plague that would have wiped you off the Earth." (Exodus 9:15) - I could kill you with my thumb.

    "Everything that lives and moves will be food for you." (Genesis 9:3) - For every animal you don't eat, I'm going to eat three.


    • #3
      Re: Batch that opens multiple pinging windows

      Similar thread: "Multiple Command Prompt with Ping request with a single script"

      This posting is provided "AS IS" with no warranties, and confers no rights.


      ** Remember to give credit where credit's due **
      and leave Reputation Points for meaningful posts


      • #4
        Re: Batch File to Find and ping default gateway automatically?

        THANKS alot..