Hi we have a few usp's that use xp_cmdshell to executes some proprietary software that relies on accessing environment variables. Our issue is that if a new environment variable is added to the server, it's not picked up within SQL Servers name space unless restarted which is not practical due to the high demand on the server.
Does anyone know of a way of refreshing the environment variables without restarting SQL Server??
Cheers in advance for any comments.