I want to add an environment variable using setx command.
I used this syntax.
setx /M path "%Path%;C:\Program Files\Android\android-sdk\platform-tools"After i enter this, this error happen.
access to registry path is denied.
How do i fix this error?
21 Answer
You must be an a Administrator in order to do this - Ramhound
I post as an answer myself. In order to do add an environment variable, I have to log in as Administrator.