how can I create a bat to make an infinite ping


Hi, I'm trying to do a simple thing, so I need to ping my router infinitely because I often lose the connection with my router and that way it goes a little better. I do not know much about bat but what I need is to put this command in a bat:

ping -t

How could I do it? and apologize for my ignorance.

asked by Sergio Ramos 16.03.2018 в 19:23

1 answer


You can copy the following:

@echo off
title Infinite ping
echo Ctrl+c para detener la ejecución...

ping -t

and then save it as ping_infinito.bat or the name you want, just make sure the extension is .bat

answered by 16.03.2018 / 19:40