How did developers set environment variables??
-
Why when i run notepad++ from win+r menu it opens, but when i try to run notepad++ from command line “not recognized as an internal or external command, operable program or batch file” is displayed?
-
Do some reading about Windows’
PATH
environment variable… -
@Alan-Kilborn I can’t find anything in my PATH variable that contains notepad word.
Why when i run notepad++ from win+r menu it opens, but not when run from command line. -
@Кирилл-Фролов said in How did developers set environment variables??:
Why when i run notepad++ from win+r menu it opens, but not when run from command line
Because they use 2 different mechanisms for locating the program.
I can’t find anything in my PATH variable that contains notepad
Which explains why it can’t be found when running from the command line.
Add the folder of
notepad++.exe
to thePATH
environment variable, or specify the complete path tonotepad++.exe
on the command line.