【问题标题】:ipconfig in command it shows "ipconfig is not recognized as internal or external command"" [closed]ipconfig 在命令中显示“ipconfig 未被识别为内部或外部命令”” [关闭]
【发布时间】:2015-05-15 00:25:01
【问题描述】:

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

【问题讨论】:

    标签: flash server


    【解决方案1】:

    在 C:\Windows\System32 中查看是否可以在其中找到 ipconfig。如果是,那么您需要添加路径: 开始 -> 搜索系统 -> 高级系统设置 -> 高级选项卡 -> 环境变量 -> 向下滚动直到看到路径。双击添加路径。最后加上:

    ;C:\Windows\System32
    

    或任何你的路径。继续点击 OK,直到您关闭所有内容...然后尝试。

    【讨论】:

    • 在 Win7 上手动安装 Delphi IDE 时无意中更改了路径目录后,我遇到了类似的“ipconfig 无法识别”问题。我添加了以下三个值,然后重新启动它工作:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
    【解决方案2】:

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

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

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

    【讨论】:

      【解决方案3】:

      如果 ipconfig 不起作用,那是由于您的计算机中缺少路径变量。

      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”,它应该可以正常工作了!

      【讨论】:

        【解决方案4】:

        如果 ipconfig 不起作用,那是由于您的计算机中缺少路径变量。

        请按照以下步骤进行修复。

        1. 打开开始菜单

          • 右键单击“计算机”,然后单击“属性”

          • 点击左侧的“高级系统设置”

          • 点击屏幕底部的“环境变量”
          • 检查列表中的**‘路径’**。如果存在, a) 点击“编辑” b) 转到文本框的末尾并输入以下;%systemroot%\system32

        否则

        点击新建按钮,

        1. 在下一个窗口中,将变量名称输入为“Path”(不带引号)。
        2. 输入变量路径为;%systemroot%\system32
        3. 点击确定并关闭窗口。
        4. 打开一个新的命令提示符并输入ipconfig

          现在应该可以正常使用了!

        【讨论】:

          【解决方案5】:

          您可以按照上面给出的答案设置 PATH 变量

          要快速处理,您可以按照以下步骤操作

          • 打开命令提示符(按窗口键+R,然后输入“cmd”并回车)
          • 确保您在 C:> 驱动器上
          • 通过以下方式进入 System32 目录: C:\>cd Windows\System32
          • 然后输入“ipconfig”并按回车键将显示您的详细信息

          【讨论】:

            【解决方案6】:

            查看 C:\Windows\System32 并查看是否可以在那里找到 ipconfig。如果是,您只需要通过这些步骤添加路径

            1- go to "my computer" right click  then click properties 
            
            2- on your left-hand choose "Advanced System Settings" then Click
            "Environmental Variables" at the bottom of the screen 
            
            3- check on "Path" and click double click
            
            4- click New then add this C:\Windows\System32  without semicolon I
            mean this ; 
            
            5-Ok, close cmd and run it again then try.
            

            【讨论】:

              猜你喜欢
              • 2013-10-06
              • 1970-01-01
              • 2015-12-15
              • 2014-04-29
              • 1970-01-01
              • 1970-01-01
              • 2015-09-26
              • 2014-05-23
              • 1970-01-01
              相关资源
              最近更新 更多