Jump to content

Recommended Posts

Posted

Nothing special to it: DriveMapAdd("X:", "\\ServerName\D$", 8)

:)

Sorry I forgot to make mention that the share name is @UserName$. This is a logon script I am running as a AD Group Policy.

GoogleDude!

Posted (edited)

*EDIT*

Due to the extra info:

DriveMapAdd("X:", "\\server\" & @Username & "$", 8)

This string uses the & Operator to connect \\server\ to the Username, and then to a $ sign, the end result is a literal string of:

\\server\username$

Edited by tAKTelapis
Posted

Sweet Deal. Thanks I will give it a go. Someday when I learn autoit a little better I will be able to be more of a contributer until then Sorry for asking so many questions. Autoit sure has made my programming ability easier to learn (for the most part).

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
×
×
  • Create New...