JScript - Environment Variables
Is there a JScript object that I can use to create and set a new environment variable. I can only find a readonly one for reading existing variables.
Thanks,
[166 byte] By [
SJ Smith] at [2007-11-19 23:12:15]

# 1 Re: JScript - Environment Variables
Environment variable for the operating system? Or do you mean a session variable?
Either one cannot be done in JavaScript.
# 2 Re: JScript - Environment Variables
OS environment variable, I'd be extremely surprised if this is impossible.
# 3 Re: JScript - Environment Variables
OS environment variable, I'd be extremely surprised if this is impossible.
Sorry, but unfortunately you cannot access an environment variable with JavaScript. You can use VBScript but that will make you IE dependent.
EDIT: TYPO.