Well.. I can't see how execute is supposed to work on the line:
\\REMOTE\USERS$\+@userid

there are no quotes for concatenation.
'\\REMOTE\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.