Jump to content
s_oliver

DriveMapAdd persistent mapping

Recommended Posts

s_oliver

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
DriveMapAdd("H:", "\\sfile-23-001\home\osic", $DMA_AUTHENTICATION + $DMA_PERSISTENT)

 

Edited 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!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×