One thing, you are missing quotes. [Smile]

It is -
code:
USE H: "\\SERVER\" + @USERID

And again, if you have hidden shares (which would be normal for user information):

code:
USE H: "\\SERVER\" + @USERID + "$"

The other is if you can maintain a consistent standard between 9x and NT-based machines, it will be easier for you.

If you need or must use %username% under 9x, you would than need to do something like -
JSI Tip 1786. Another way to set %UserName%, %ComputerName%, and %LogonServer% for W9x.


HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's