Whenever kix finds a "$$" it will always use it as a single $. But if kix finds a single $ in the code it will first try to treat it as a variable, and then, if that variable has not been set, it will print the variable code name.

So if you have been using

$ = ingroup("....")

to suppress the return codes, and then try to use something like this

use h: "\\server\@userid$"

you will get the @userid+return code, not the hidden share that you were wanting.

code:

$ = ingroup("Domain users")
? "$$ = $"
?
? 'ingroup("Domain Users") = $'
? 'ingroup("Domain Users") = $$'
?
? "\\server\@userid$"
? "\\server\@userid$$"
?
? "$$$$$$$$"
? $$$$$$$$

Bryce