Jens,
Shawn's jerking yer chain fer sure. It was he and someone (who, I can't remember) that taught me $ is a valid variable. I couldn't find the thread so will reiterate. A simple snippet of code like this will confirm:
break on
$="test"
$ ?
"\\Server\Users\@UserID$" ?
"\\Server\Users\@UserID$$" ?
get $_
IF you assign a string or value to $, then if you use sloppy coding for say, hidden shares, it will give you grief. If $ is assigned as a string, then:
Use "H:" "\\Server\Users\@UserID$"
Would concatenate the @UserID and the $ as if it were:
"\\Server\Users\" + @UserID + $
The manual states that if a $ is used within quotes that it should be $$, as in:
Use "H:" "\\Server\Users\@UserID$$"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.