Batch script in Windows 10 is like bash script in Linux.
Edit file test1.bat
, run this by .\test1.bat
.
@ECHO OFF
ECHO This is the first script.
PAUSE
pingLoop.bat
script is defined as follows,
for %%i in (93,188) do (
ping 192.168.1.%%i -w 10 -n 1 | find "Reply"
)
pause