Tag Archives: Net prompt is not an internal or external command

Net prompt is not an internal or external command

‘net’ is not an internal or external command, nor is it a runnable program or batch file

Method 1

My computer — & gt; properties — & gt; advanced — & gt; the variable value of the environment variable path is added with the following new value: systemroot% \ system32

After modification, you need to re open the command line of CMD, otherwise it will not take effect.

Method 2

The effect of entering DOS operation interface;
0

If you enter: netstat – an, you will be prompted that it is not an internal or external command, nor a runnable program or batch file.

The reason why the prompt is not an internal or external command is that the current operation of CMD is not in the system folder system32, so you can switch the current operation path to the system folder of the windows operating system by simply entering: CD C:: (Windows) system32. Then enter netstat – an to solve the problem.