how can I create a bat to make an infinite ping

3

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 192.168.1.1 -t

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

    
asked by Sergio Ramos 16.03.2018 в 19:23
source

1 answer

5

You can copy the following:

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

ping 192.168.3.29 -t
pause

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
source