命令提示符窗体中提示netstat -an不是内部命令或外部命令

打开命令提示符窗体输入:cd\windows\system32(敲回车键),然后运行命令:netstat -an。产生这个问题的原因在于windows 没有设置在任意路径下运行外部命令的 path 语句

鼠标右键Windows—->系统—–>高级—->环境变量——>系统变量,在Path中添加c:\windowsc:\windows\system32 即可

猜你喜欢

转载自blog.csdn.net/A_D_I_D_A_S/article/details/81871670