I'm using setx to set a Environment variable.
My command is
setx -m PSR_NLC_FILE "%PROGRAMFILES(x86)%\Test Folder\"
But when i check on my system is set to
C:\Program Files (x86)\Test Folder"
The path is not found because of the quote.
When i use this command for another Environment variable is set correct without quote.
setx -m PSR_NLC_FILE "%PROGRAMFILES(x86)%\Test Folder\File.lic"
C:\Program Files (x86)\Test Folder\File.lic
Can someone explain to me what i'm doing wrong?