I am trying to add a key-value to %PATH% variable in windows and for that i am using a raw module. But when i use something like:
PATH=E:\jre;%PATH%
then i get error saying,
"%PATH% : The term ‘%PATH%’ is not recognized as the name of a cmdlet
I tried putting things in quote and there are no other special characters in my commands. I am not sure if special characters still needs to be escaped when inside “”. Any suggestions how to do this ?