third_party_content:community:commentary:forums_nonworks:aadb0d57d58bf8e185256f79007af619

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

[email protected]


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?

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/aadb0d57d58bf8e185256f79007af619.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1