in reply to Setting Env Variable question

Tye gave me a solution for this very problem. It's not as easy as one thinks :)

SetEnviron.bat

Enjoy, it seems to work.

Update: One other thing, Win32::AdminMisc has several methods to get and set variables. These however will not be available to the existing shell, but the WILL be available to any shell after that. So if you are looking to set vars to use later try this approach. You can automate it so that it runs as a logon or startup script and those vars will always be there.

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!