in reply to Re: Passing value from IF loop
in thread Passing value from IF loop
I agree with Utilitarian's comments about the current environment. To illustrate his point, you can do the following test:
Personally, I am unaware of how to 'reset' the environment for command prompt or script, but that's not to say it can't be done. Short of doing that, I think Utilitarian's suggestion of writing to a file would be a good idea.
|
|---|