As MCA stated:

Use the Execute() function to resolve the contents of @userid

You read the share from the ini-file, as you have done:
code:
$Share = readprofilestring ("@lserver\netlogon\kix\ini\groups.ini", 3, "share")

Add the following line just after this, to 'execute' the macro in the string:
code:
$RC = Execute('$$Share="$Share"')

If you are logged in as user: jaemi

Then $Share will contain:
\\is\netdata\users\@userid\lnotes
Before the Execute()

And
\\is\netdata\users\jaemi\lnotes
After the Execute()

-Erik

ps.

MCA, [Wink]
Your execute statement should look like this:
$nul = Execute('$$dummy="$share"')

[ 11 July 2002, 23:36: Message edited by: kholm ]