using Strict route with ping

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi everyone, I'm interested in making a program, be it a batch/C/VB or
what not, which receives a list of IPs and a destination and sees if it
is possible to send a ping through that route.
I haven't had success using strict route with the windows/DOS ping
command, eg:

ping -k 10.0.0.254 ... www.yahoo.com
where the IP's i've supplied are actually the resulting IPs of "tracert
www.yahoo.com"

could someone explain how the -k should be used or how a program like
this can be made without having to learn a new programming language
etc.?

Thanks alot in advance :)
Michael

.