Jump to content

Windwos 2003 Server


moinuddin_sh

Recommended Posts

I need help creating a Login Script that will do the following:

Map the share department drive

I written the following login script to share the user drive:

Dim oNet, sUser, sGroup

Set oNet = CreateObject("Wscript.Network")

sUser =oNet.UserName

rem sGroup =oNet.GroupName

oNet.MapNetworkDrive "K:", "\\Server1\" & sUser

rem oNet.MapNetworkDrive "L:", "\\Server1\" & sGroup

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...