GoogleDude 1 Posted September 29, 2007 How do I format the syntax for mapping a hidden share with a $ in the share name? Share this post Link to post Share on other sites
PsaltyDS 41 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 Share this post Link to post Share on other sites
GoogleDude 1 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! Share this post Link to post Share on other sites
tAKTelapis 1 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 Share this post Link to post Share on other sites
GoogleDude 1 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). Share this post Link to post Share on other sites