Announcement

Collapse
No announcement yet.

Want to ping default gateway & send results to text file [was: batch file]

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Want to ping default gateway & send results to text file [was: batch file]

    Hi

    Can u help me to create a batch file to ping my default gateway and create a text file (.txt) of the results.

    Thanks and Regards
    prabu

  • #2
    Re: batch file

    ping <ipadress> > file.txt?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: batch file

      Thanks

      I made it as ping -t x.x.x.x >>abc.txt


      with best regards

      prabu
      prabu

      Comment


      • #4
        Re: batch file

        but why do you want to ping it?
        Marcel
        Technical Consultant
        Netherlands
        http://www.phetios.com
        http://blog.nessus.nl

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"

        Comment


        • #5
          Re: batch file

          And why are you using the -t option? In a batch file?

          Sorin Solomon


          In order to succeed, your desire for success should be greater than your fear of failure.
          -

          Comment


          • #6
            Re: Want to ping default gateway &amp; send results to text file [was: batch file]

            Please create a more descriptive title for your threads in the future (batch file was as helpful as cold fart) and post them in the correct Forum.

            Thank you.
            1 1 was a racehorse.
            2 2 was 1 2.
            1 1 1 1 race 1 day,
            2 2 1 1 2

            Comment

            Working...
            X