I am trying to set a custom environment variable in Windows 7, which needs to be done programmatically as it must be set on multiple computers.
I have been testing one a single machine, but When I create it programmatically, it exists for that session (i.e. in DOS when the command window is open, or in Powershell when the ISE is open) - however, when I close the session the variable disappears?
How do I make it permanent?
Thanks,
Ben