The ipconfig command cannot be run in DOS.

Source: Internet
Author: User

I even know that ipconfig is a Windows system command. In fact, it indicates that an executable file of .exe is used. It can be said that all DOS commands correspond to corresponding execution files. These files are generally stored in
C:/Windows/system32 folder. As we usually input DOS commands in the DOS window, the system will call the corresponding files in the above directory. So how does the system know to go to C:/Windows/system32 to find it? In fact, this involves a system variable. The so-called system variable is simply a character name, which is used to save the path addresses of some specially intended files. Use the path character in Windows
Path stores many file paths. When a file is executed, the system searches for the paths contained in the path. Generally, the first path is found.

Therefore, if the system variable encounters a problem, the corresponding file cannot be found, so the system prompts "No or external commands ".

Solution:
My computer → properties → advanced "tab's" environment variable "button to view relevant information.

The blue part is the content corresponding to the path.
If you do not have the path option, click "new" and enter "path" as the variable name"
Enter "C:/Windows/system32" as the variable value"
If you already have a path attribute, you can add the character "; C:/Windows/system32" after the content to solve the problem.

 

 

Address: http://help.360.cn/5030809/24440633.html

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.