[windows2000] Re: Dumb Dos Batch File question

  • From: Mike Dillinger <miked@xxxxxxxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Tue, 30 Nov 2004 13:53:13 -0800

Message from "Jennifer Hooper" on 11/30/04 01:48 PM PT quoted:

Hi guys -

        I want to write a batch file for a user to run in our Austrailia
office to ping test a handful of servers located in the Continental US.  I
want it to ping a server 30 times and then append that output to a file that
the user can then email back to me. How do I do that and APPEND the file,
not overwrite it?  Right now, here's what I have:

Ping -n 30 servername > temp.txt
Ping -n 30 nextservername > temp.txt

ping -n 30 servername >> temp.txt

">>" appends a file and it will create it if it doesn't already exist.

This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
To Unsubscribe, set digest or vacation
mode or view archives use the below link.


Other related posts: