Results 1 to 6 of 6

Thread: Windows 98 Logon Script [Resolved]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210

    Windows 98 Logon Script [Resolved]

    Hello,

    I am playing around with Windows NT 4.0 and have created a domain with users and user shares and such....Users are validated fine, but the login script only works on the Windows NT 4.0, not on a Windwos 98(SE) machine. The script is:
    Code:
    net use %HOMEDRIVE% %HOMESHARE%\%USERNAME%
    I've checked those variables using ECHO, and they all return empty..
    Code:
    echo %HOMEDRIVE%
    echo is on
    I've searched around Microsoft's support articles but I can't find anything that addresses this(possibly because I'm using the wrong terminology?).

    how do I get those variables to work correctly on the NT and 98 machines?

    Thanks a lot,
    George
    Last edited by Rh0ads; Jul 12th, 2004 at 09:26 AM.
    < o >

  2. #2
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    95,98,ME does not support those environment variables because they are not domain operating systems, hence why they return nothing.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210
    Well, Ideas Man, that answer makes sense. Thanks for the response.

    Has anyone been in this situation, and are there any hacks that you've seen/come up with?

    Thanks
    -George
    < o >

  4. #4
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Yeah, we upgraded to XP
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  5. #5
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Try this
    Attached Files Attached Files
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210
    works great plenderj, thanks.
    < o >

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width