I copied the slm application into a directory outside the SDK (e.g. C:\temp\slmapp) and I launched a command prompt from the nRF Connect's tool chain manager. Then I navigated to the C:\temp\slmapp using "cd" and issued the build command "west build -b nrf9160dk_nrf9160ns". The project build successfully.
Then, I launched the command prompt from the windows start menu and then I issued the same west build command and I got the following error:
what is the difference between the two methods? What is needed to get the second method working? I confirmed the PATH variable, they both seem to be similar.