Jac Posted November 1, 2012 Posted November 1, 2012 Hi we have autoit script that we use for login scriptIt's working fine with Windows XP and 7But with Windows 8 when users login the script don't map any drivesUAC is disable $drive = DriveMapAdd ("U:",\\xxx\dfs\Services,1) ;MsgBox(0,"info",$drive)$drive return me 1 so it should map itThanks for your help
Moderators JLogan3o13 Posted November 1, 2012 Moderators Posted November 1, 2012 Your path is not in quotes above, is that how it is in your script, or is this just a copy/paste error? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
water Posted November 1, 2012 Posted November 1, 2012 Looks like a typo. He would get syntax errors. "ERROR: syntax error (illegal character)" My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Jac Posted November 1, 2012 Author Posted November 1, 2012 Yes it is correct in the script $drive = DriveMapAdd ("U:","unc_path",1)
twitchyliquid64 Posted November 3, 2012 Posted November 3, 2012 what's the permissions/account the script is running under? ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search
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