R
R
Roman Bolshukhin2021-10-19 11:11:08
cmd/bat
Roman Bolshukhin, 2021-10-19 11:11:08

Mount drive Windows 10, how to set specific characters in password?

Pass the %$& characters in the password

net use z: \\address.com\Share /user:login bs^Q,a%U6 /persistent:Yes


/user:login bsQ,aYes
Системная ошибка 86.

Сетевой пароль указан неверно.


this option also did not work, the %$& signs are automatically removed from the password, the rest is transferred
set login=login
set pass=bs^Q,a%U6
echo %login%
net use z: \\address /user:%login% %pass%

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2021-10-19
@skyspirit

put %% then it will be converted to % it would be
more reasonable to exclude %$& from the password because the interpreter tries to perceive them as special characters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question