The line of code is super basic

Code:

$OPNAME=Ucase(@USERID)
SET "OPNAME=$OPNAME"



Like I said, this works. Just not the first time they log in. Your comment about setting it to run at the application level is not a bad idea, however users do not have kix32 installed locally so I would need to do it in the batch file which would lead me to two more issues:

I don't believe Win9x systems support the %username% variable.
I would have to make sure the name was in all uppercase

Don't you just love legacy apps?