首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ipconfig在命令中它显示"ipconfig不被识别为内部或外部命令“”

ipconfig在命令中它显示"ipconfig不被识别为内部或外部命令“”
EN

Stack Overflow用户
提问于 2015-03-13 01:41:41
回答 6查看 84.2K关注 0票数 2

我的Adobe Flash媒体服务器已成功安装到我的windows中。但每当我在命令中写入ipconfig时,它都会显示"ipconfig不被识别为内部或外部命令“。

EN

回答 6

Stack Overflow用户

发布于 2015-04-14 03:45:14

在C:\Windows\System32中查找,看看是否可以在那里找到ipconfig。如果是,则需要添加路径: Start -> search system ->高级系统设置->高级选项卡->环境变量->向下滚动直到看到path。双击以添加路径。在最后,放入:

代码语言:javascript
复制
;C:\Windows\System32

或者不管你的道路是什么。继续点击of直到你关闭所有的东西...那就试试吧。

票数 11
EN

Stack Overflow用户

发布于 2016-01-29 15:02:48

这确实可以归结为系统变量。

  • 在[开始]菜单或桌面上右键单击My Computer,然后单击Properties
  • 选择Advanced System settings -> Advanced单击Environment Variables
  • button找到名为Path的系统变量并单击它
  • 单击Edit按钮

它应该是一个由分号;分隔的多个路径的长字符串。检查它是否包含C:\Windows\system32 (我假设您的系统驱动器是C)。如果你不确定它是否正确,那么你可能想要复制它并将其张贴在这里。如果您进行了更改,可能需要重新启动才能看到任何效果。如果这不起作用,那么打开您的C:\Windows\system32目录并确保其中包含IPConfig.exe。如果没有,那么我猜你一定是丢失了系统文件。

票数 7
EN

Stack Overflow用户

发布于 2018-08-09 14:59:00

如果ipconfig不工作,则是由于您的计算机中缺少path变量。

代码语言:javascript
复制
Please follow these steps to fix it.
1. Open the Start-Menu
2. Right click on ‘Computer’ and click ‘Properties’
3. Click ‘Advanced System Settings’ on the left hand side
4. Click ‘Environmental Variables’ at the bottom of the screen
5. Check for ‘Path’ in the list. If it is present,
a) Click ‘Edit’
b) Go to the end of the text box and type the following (without quotes): 

> `“;%systemroot%\system32”`

Otherwise, 
5. Click ‘new’  button,
a) In the next window, enter the variable name as “Path” (without quotes).
b) Enter the variable path as, “;%systemroot%\system32”  (without quotes).

6. Click ok and close the windows.

现在打开一个新的命令提示符并输入‘ipconfig’,它应该可以正常工作!

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29016685

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档