Getting username for variable - TechRepublic
General discussion
February 22, 2001 at 10:29 PM
stubbsd

Getting username for variable

by stubbsd . Updated 25 years, 4 months ago

I am relatively new to Netware so this may be a generic question for some of you. I am trying to write a script that will be user specific. We are running WinNT4 on our worksations. The script will find out what Netware user is logged in, go to their home directory, then copy everything there to the local hard drive. I need to set the user variable because we have several people using the same machine. This would allow me to keep the data seperate. Is there a way of pulling that data from a command line so I can write a batch file to accomplish this?

This discussion is locked

All Comments