| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: HELP PLEASE - server dropping connection |
From: "John Beamish" It will set up the command line prompt to display the time. You can see what it will look like by simply opening a command line window and typing: "prompt $p $t $g" (no quotes, include the spaces) at the prompt in the new window. Now, in that the window, after entering the new prompt, press return several times. Notice how the time is displayed in the prompt. If you want to do a ping and then wait 10 seconds before doing another ping then you'll need the sleep.exe program available from, among other places, MS. http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96e e-b18c4790cffd&displaylang=en I know, I know: it says "Windows 2003 Server". It should work just fine for you (it does for me on XP). So now you set up the following batch file (let's call in pingtest.bat): set echo off prompt $p $t $g :doit ping 1.2.3.4 sleep 10 goto doit Open a DOS window, navigate to the folder where the batch file is located and type pingtest Want to save the output? When you start it in the DOS window simply type pingtest > pingtest.txt The output from the batch file will be redirected into pingtest.txt. When you are running the batch file you can examine the contents of pingtest.txt by opening another DOS window, navigating to the folder where the batch file is located and entering: type pingtest.txt "Ellen K." wrote in message news:4pblb0heo699vcbh5sj9an94hr7kba7q5b{at}4ax.com... > Will that make it write the time to the file after every set of four > pings? > > On Sun, 30 May 2004 21:45:37 -0400, "John Beamish"* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45) SEEN-BY: 633/267 270 @PATH: 379/45 1 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.