Lost userid (AREV Specific)
At 29 DEC 2004 05:23:03PM Steve Bell wrote:
We are using a window with a prompt to get the @user1. This is a filled & protected prompt. Now we've moved and the users have to login to two servers and I've lost the userid. looks like it's tring to read the info from my c drive. I can't find where it's getting what it's getting. I'm guessing it's been over written or messed up in memory.
Help needed!
Steve Bell / IL. Lottery
At 29 DEC 2004 07:04PM Steve Smith wrote:
I guess there might have been a unique username.txt file in C:\ on each machine. A better way is to pick up the USERNAME= prompt from the Windows/DOS environment string settings.
There are other threads here on how to do that.
Steve
At 03 JAN 2005 08:45AM Bob Carten wrote:
I had a site where we used a line in the Arev batch file to capture the username to a text file, then read that file during the login.
something like
set | find "username" ]c:\temp\username.txt
This technique relies on the login script setting an environment string for the username. Perhaps the login scripts on the old server set an environment variable which has not been set up on the new servers?