我最近安装了Windows 2012.无法使用以前使用的常用命令,例如“ipconfig”“hostname”等已尝试以pipe理员和非pipe理员身份运行。
如果ipconfig或其他命令不起作用,则由于configuration中缺lesspathvariables。
按照以下步骤来解决它:
%systemroot%\system32 3B。 如果不存在,使用“新build”button创build它,
4B。 在下一个窗口中,inputvariables名称作为path 。 inputvariablespath为“;%systemroot%\ system32”(不含引号)。
现在打开一个新的命令提示符并键入' ipconfig '或任何系统命令,他们应该工作正常!