If I run CMD the usual CMD.EXE window appears but any commands I type end up with something like
So you say your PATH is broken. Can't disagree. Typing PATH shows the standard output with a list of semi-colon separated directories. First being
And typing
runs ping as expected.
If I type PATH to display it, then copy the whole of the PATH=.... and then simply paste it back into the cmd window, redefining the PATH to be the same as before, then the commands are found as expected.
I don't understand how the 2 seemingly identical path values can behave differently.
Any thoughts O clever ones?
TIA
Oh, Windows 11 so I've got the new tabbed cmd app ( Microsoft Windows [Version 10.0.22621.2134] )
Code:
'ping' is not recognized as an internal or external command,
operable program or batch file.
So you say your PATH is broken. Can't disagree. Typing PATH shows the standard output with a list of semi-colon separated directories. First being
Code:
PATH=%SystemRoot%\system32;
And typing
Code:
%systemroot%\system32\ping
runs ping as expected.
If I type PATH to display it, then copy the whole of the PATH=.... and then simply paste it back into the cmd window, redefining the PATH to be the same as before, then the commands are found as expected.
I don't understand how the 2 seemingly identical path values can behave differently.
Any thoughts O clever ones?
TIA
Oh, Windows 11 so I've got the new tabbed cmd app ( Microsoft Windows [Version 10.0.22621.2134] )