>NT has a default environment variable called username.
>I use GETENV('username')
>Also, our Netware login script creates a similar environment variable for DOS/Win/95 users.
>
>This has some security issues. But in 95, the user has to run the app from a batch file that changes the environment variable and then runs the app because just changing an envar in a DOS window doesn't affect anything but that DOS session.
>
>Cheryl Qualset
That's one reason to run the net commands, you can redirect output to a file, then parse it, without regard as to environment vars.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright