s_oliver 0 Report post 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) Share this post Link to post Share on other sites
TheDcoder 537 Report post Posted September 7, 2016 (edited) DriveMapAdd("H:", "\\sfile-23-001\home\osic", $DMA_AUTHENTICATION + $DMA_PERSISTENT) Edited September 7, 2016 by TheDcoder AutoIt.4.Life Clubrooms - Life is like a Donut (secret key) Spoiler My contributions to the AutoIt Community Some messages & Apologizes: If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!! Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz Or you can have a nice chat with me in freenode, I use the same nick on freenode too! PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY! Share this post Link to post Share on other sites
s_oliver 0 Report post Posted September 7, 2016 Cool, it really works! Thank you! Share this post Link to post Share on other sites