Home > Archive > alt.certification.a-plus > February 2003 > PathPing Batch file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PathPing Batch file
JimW±

2003-02-21, 9:23 pm

Batchfile to output results of pathping to a text file

1. Create a file c:\cr13.txt that has ONLY an <Enter> character =
(carriage return)=20

2. Create a file n.cmd with the following 4 lines (substitute any site =
for NEWS in 3rd line)

date > c:\aaa%1.txt < c:\cr13.txt
time >> c:\aaa%1.txt < c:\cr13.txt
pathping NEWS >> c:\aaa%1.txt
time >> c:\aaa%1.txt < c:\cr13.txt


3. then at Run or at command prompt, type

n 1
or
n 2
or
n (whatever - to create different versions)
JimW±

2003-02-21, 10:23 pm

pathping (by default) sends 100 pings to each router along the way (4 =
per second)
A 10 router path would take 250 seconds
A command line window will open (if run from RUN) & for some time it may =
appear that nothing is happening

add
@echo =07
to the end to hear a beep when it is finished

=07 is ^G, ASCII#7 - but you may need to copy it from here


JimW=B1 wrote:
> Batchfile to output results of pathping to a text file
>=20
> 1. Create a file c:\cr13.txt that has ONLY an <Enter> character
> (carriage return)=20
>=20
> 2. Create a file n.cmd with the following 4 lines (substitute any
> site for NEWS in 3rd line)=20
>=20
> date > c:\aaa%1.txt < c:\cr13.txt
> time >> c:\aaa%1.txt < c:\cr13.txt
> pathping NEWS >> c:\aaa%1.txt
> time >> c:\aaa%1.txt < c:\cr13.txt
>=20
>=20
> 3. then at Run or at command prompt, type
>=20
> n 1
> or
> n 2
> or
> n (whatever - to create different versions)

Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net