|I had created variable in user section , using the following code
dim objShell, colUserEnvVars
'initializing all variables
Set objShell = WScript.CreateObject("WScript.Shell")
Set colUserEnvVars = objShell.Environment("System")
'Output File for registry information.
colUserEnvVars("rahul") = "rahul"
but i cannot read the same from c++, for this i have to restart the system,
but Wscript.Echo colUserEnvVars("DeloitteAuditShare123") read the value without restarting ths system.
“You will never be a leader unless you first learn to follow and be led.”
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford