Quantcast
Channel: Windows 8.1 Networking forum
Viewing all articles
Browse latest Browse all 3899

net use incorrect password

$
0
0

Hi everybody...

Hopefully someone can help me. Since mapping network drives persistant leads to massive slowdowns in explorer.exe if some of the drives aren't connected I wanted to create a simple batch file to map and unmap the network drives.

Thats my batch to map them:

if not exist R net use R: /USER:"domain"\"user" \\"Server"\"Share"\"Folder" "password"

If I leave out "password" and replace it with * I will be asked for the correct password and by typing it in the drive is connected properly.

Somehow my specific password, which I would love to set in the batch itself so it isn't necessary to always type it, doesnt seem to be recognized correctly by cmd.

My password contains the following symbols "=%=%" but in the cmd that opens when i click on my batch it is only shown "=%"

Is there a way to let the cmd know that it has to use the whole term as pw. I have the feeling it is somehow confused and thinks it is a equation or something like that.

Can I put the pw in () or anything to force the exact sequenze of letters, numbers and symbols?

Thanks in advance!!


Viewing all articles
Browse latest Browse all 3899

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>