Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Batch File - Ping > Send Command
Name: xeroliun Date: April 27, 2008 at 11:03:19 Pacific OS: Windows XP CPU/Ram: AMD Product: Elitegroup
Comment:
Hello, I am kindly looking for a batch file that will do the following.
1. I have a list of 10 PC names in a text file (pcnames.txt)
2. I want to ping every PC name in the list
3. If the ping fails then put the failed PC name into a text file (failedping.txt)
4. If ping succeeds then remove a directory on the success PC (ex. rmdir c:\VNC /s /q)
Summary: Batch file, ping results I want to run something similar at command prompt and display a custom message ping www.ebay.com.at if ping results == "could not found host" ECHO "My custom processing and me...
Summary: Hi M2, I tried out echo.| on commands such as DATE and PAUSE. They worked fine. However, telnet.exe is a separate program stored in the root directory. It also has its own commands which DOS doesn't r...
Summary: well for me, www.ebay.com also times out, and the command at the end which is "echo hello" is executed, check your url direcly with ping and check if it results exactly in : "Request timed out." and i...