I Cannot Add an Environment Variable on Windows
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 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?
1 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.