Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: I need to find a part of a text-file and displa...  (Read 2331 times)

0 Members and 1 Guest are viewing this topic.

Per_Killer

  • Guest
I need to find a part of a text-file and displa...
« on: September 07, 2005, 12:03:49 PM »
I've written a batch-file that ping a certain IP, and dump it to a textfile: "PINGRESULT.txt"
Now I want to make my batch-file continue, by finding the ping-result and displaying it in the same batchfile. (Right after it pinged the IP-adress)

I'm not very experienced with writing batch-files though, so does anyone have any ideas on how I could do this?

Thanks for replies :)

uli_glueck

  • Guest
Re: I need to find a part of a text-file and displ
« Reply #1 on: September 08, 2005, 06:45:47 AM »
What is your batch file?
Just ping ip >pingresult.txt or is ist in a for loop?

If you just want to display it:

ping ip >pingresult.txt & type pingresult.txt

uli