Change the code to this:

Code:

Set "liname=" + @USERID




This will give you the correct output when doing an echo %LINAME% at the command prompt.
It worked on my wksta.


Edited by R2D2 (2004-12-16 04:44 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.