Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how keep Ping window open?

1,006 views
Skip to first unread message

Trs80

unread,
May 29, 2008, 7:05:40 PM5/29/08
to
When I run Ping from the DOS command prompt, the Ping data returns in a DOS
window........but the window closes after it finishes. How do I keep the
DOS window open after it finishes so I can view the data?
thanks!


Ted Davis

unread,
May 29, 2008, 9:40:15 PM5/29/08
to

You must have some strange version of PING or are using it wierdly -
the PING that comes with Windows is a command line utility: it doesn't
open a window or close the one it's in - it just runs like any other
command line utility.

Screen dump:

C:\myfiles>ping 192.168.1.101

Pinging 192.168.1.101 with 32 bytes of data:

Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\myfiles>

--

T.E.D. (tda...@mst.edu) MST (Missouri University of Science and Technology)
used to be UMR (University of Missouri - Rolla).

Timo Salmi

unread,
May 31, 2008, 7:10:04 PM5/31/08
to

2} On Windows XP how do you stop the script files from closing?
http://www.netikka.net/tsneti/info/tscmd002.htm

All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FI-65101, Finland
Useful CMD script tricks http://www.netikka.net/tsneti/info/tscmd.htm

kbm...@hotmail.com

unread,
Jul 9, 2008, 8:36:59 AM7/9/08
to

If you are using the "Run" option in the Start menu to process the
Ping request - that's the problem. You need to run your request from
an active DOS command window - not from "Run".

How? The command to open a DOS shell window is cmd

Hope this helps.

Kevin

bud

unread,
Jul 10, 2008, 1:15:40 AM7/10/08
to

Group: comp.os.msdos.misc Date: Wed, Jul 9, 2008, 5:36am (CDT-2) From:
kbm...@hotmail.com
script:

>How? The command to open a DOS shell
>window is cmd
>
>Hope this helps.
>
>Kevin

Thanks Kevin. As an "NT newbie", I appreciate tips like this,… tho' I
realise that they are OT in a DOS group.

salaam,
dowcom

To e-mail me, add the character zero to "dowcom". i.e.:
dowcom(zero)(at)webtv(dot)net.

--
http://community.webtv.net/dowcom/DOWCOMSAMSTRADGUIDE

MSWindows is television,… Linux is radar.

Franc Zabkar

unread,
Jul 10, 2008, 2:00:46 AM7/10/08
to
pingOn Wed, 9 Jul 2008 05:36:59 -0700 (PDT), kbm...@hotmail.com put
finger to keyboard and composed:

Try ...

cmd /k ping address

Type "exit" to close the window.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.

pkoo...@gmail.com

unread,
Jul 9, 2012, 5:04:21 PM7/9/12
to fza...@iinternode.on.net
This was the answer I was looking for. Thank you.

Timo Salmi

unread,
Jul 31, 2012, 9:43:01 PM7/31/12
to
pkoo...@gmail.com wrote:
> On Thursday, July 10, 2008 1:00:46 AM UTC-5, Franc Zabkar wrote:
>> cmd /k ping address
>> Type "exit" to close the window.
> This was the answer I was looking for. Thank you.

More on the subject in
2} On Windows XP how do you stop the script files from closing?
http://www.netikka.net/tsneti/info/tscmd002.htm

All the best, Timo

--
Prof. (emer.) Timo Salmi, Vaasa, Finland
http://www.netikka.net/tsneti/homepage.php
Useful CMD script tricks http://www.netikka.net/tsneti/info/tscmd.php

je...@tfsit.com

unread,
Mar 2, 2017, 7:01:31 PM3/2/17
to
This was right one thx big time!! this opens up a whole new world of possibilities!! - Jeff
0 new messages