username in environment variable

Discussion in 'Windows Networking' started by Mark Chimes, Apr 5, 2004.

  1. Mark Chimes

    Mark Chimes Guest

    Hi All,
    Can anyone tell me how to get/set the user's login name
    in/from as environment variable. "username" work under
    WinNT, Win2000, etc, but does not seem to exist under
    Win98.
    Is there an equivalent?

    cheers,
    Mark
     
    Mark Chimes, Apr 5, 2004
    #1
    1. Advertisements

  2. Sorry, no.
     
    Richard G. Harper, Apr 9, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.