Command line DOS commands such as ping cannot be used

Source: Internet
Author: User
: 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

  • Windows environment

Method/step

  1. Generally, the ping command cannot be used.

  2. 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:

  3. Right-click "computer" on the desktop (XP is my computer)-click "properties"-open the interface

  4. Click "Advanced System Settings"> "system properties"> "environment variables:

  5. Find the "Path" option in "system variables" -- double-click:

  6. Append "C: \ Windows \ System32" to "Path", and then click "OK ".

  7. The environment variable path has been set. you can view it in the cmd window:

  8. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.