GoogleDude Posted September 29, 2007 Share Posted September 29, 2007 How do I format the syntax for mapping a hidden share with a $ in the share name? Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 29, 2007 Share Posted September 29, 2007 How do I format the syntax for mapping a hidden share with a $ in the share name?Nothing special to it: DriveMapAdd("X:", "\\ServerName\D$", 8) Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
GoogleDude Posted September 29, 2007 Author Share Posted September 29, 2007 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! Link to comment Share on other sites More sharing options...
tAKTelapis Posted September 29, 2007 Share Posted September 29, 2007 (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 September 29, 2007 by tAKTelapis Link to comment Share on other sites More sharing options...
GoogleDude Posted September 29, 2007 Author Share Posted September 29, 2007 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). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now