I was modifying my PATH variable in order to configure it for node js.
On appending C:\Tools\nodejs; to the beginning of PATH, node -v and npm -v executed correctly, but on appending it to the end of PATH, neither of the commands were recognized.
Why would this happen?