Search found 1 match

by hamza4best
25 Jun 2014 13:34
Forum: DOS Batch Forum
Topic: is this batch file correct
Replies: 1
Views: 1219

is this batch file correct

I wrote a batch file that gives out the following result 1. If a particular IP address is replying or not. 2. If host is reachable or not. 3. If IP is timed out or not. 4. Some other error @echo off set /p ip="Enter IP Address: " ping %ip% -n 2 > nul > IP.txt if %ERRORLEVEL% == 0 ( echo Pi...