Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Batch help


ghost's Avatar
0 0

Okay trying to learn the basics of batch file and started with a pinging script

:Loop ping localhost do loop:

but the problem is its not actually giving it time to do it so theres no effect .so what im asking is there anyway to say like ping local host wait until done then loop while giving it time to complete the command?


ghost's Avatar
0 0

ping -t <host you want to ping>. Then it will keep going til you close the window or press control c.


ghost's Avatar
0 0

thanks but dosent work its not giving it enough time


ghost's Avatar
0 0

what do you mean? You can edit all the stuff with tags just type ping in a prompt. You're best to use C++ or perl if you're trying to send alot of packets and/or DoS yourself.


ghost's Avatar
0 0

ok anyone know how u would do it in vb?


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

it shud be goto loop

try:

:loop ping [ip here] -f goto loop