Okay. Here goes.

In my logon scrip for NT machines, I want to change an Outlook setting for a certain group of users in our company. Since I am lazy, I want to use the script to change their reply-to address in their outlook account by changing the resigstry string that is responsible.

So far this is the portion I am working on. My question is; How do I concatenate the user name with the "@companyname.com" section of their e-mail address in the registry??

Is this right?, or am I out to lunch?
__________________________________________

IF INGROUP ("Accounting")
SELECT
CASE ($NT_mode = "yes")
WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook\OMI Account Manager\Accounts\00000001", "SMTP Reply To Email Address", "@userid@companyname.com", "REG_BINARY")