s_oliver Posted September 7, 2016 Share Posted September 7, 2016 Hello, How can i combine $DMA_PERSISTENT and $DMA_AUTHENTICATION in one Script? I tried different things, but nothing seems to work. Can someone help me? #include <AutoItConstants.au3> DriveMapDel("H:, J:, L:") Sleep(2000) DriveMapAdd("H:", "\\sfile-23-001\home\osic", $DMA_AUTHENTICATION) DriveMapAdd("J:", "\\srv02\share", $DMA_AUTHENTICATION) DriveMapAdd("L:", "\\srv02\support", $DMA_AUTHENTICATION) Link to comment Share on other sites More sharing options...
TheDcoder Posted September 7, 2016 Share Posted September 7, 2016 (edited) DriveMapAdd("H:", "\\sfile-23-001\home\osic", $DMA_AUTHENTICATION + $DMA_PERSISTENT) Edited September 7, 2016 by TheDcoder EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
s_oliver Posted September 7, 2016 Author Share Posted September 7, 2016 Cool, it really works! Thank you! 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