: This article describes how to use commands such as ping in command line DOS. For more information about PHP tutorials, see. As we all know, the ping command is a very practical network Command. sometimes, we will find that the ping command cannot be used in the computer. In general, it is because of a problem with the computer's environmental variables, this article describes how to solve this problem.
Tools/raw materials
Method/step
Generally, the ping command cannot be used.
The ping command I encountered was not available, basically because of the "environment variable". I checked the environment variable path and found that "C: \ Windows \ System32" was not configured:
Right-click "computer" on the desktop (XP is my computer)-click "properties"-open the interface
Click "Advanced System Settings"> "system properties"> "environment variables:
Find the "Path" option in "system variables" -- double-click:
Append "C: \ Windows \ System32" to "Path", and then click "OK ".
The environment variable path has been set. you can view it in the cmd window:
Now, the ping command can be used again normally:
The above describes the command line DOS that cannot use ping and other commands, including the content, hope to be helpful to friends who are interested in PHP tutorials.