Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".

ampersand in password

ayerayer Newbie ✭
edited May 2021 in SSL VPN

I am trying to use NECLI to establish a connection. However, it always fails, apparently due to the use of ampersand in the password. E.g., if I do

connect <all conn paramters> -p pass&word

I will get an error:

'word' is not recognized as an internal or external command, operable program or batch file.

Starting the connection without "-p " completes successfully, prompts for password, and then I am able to enter the same password at that time without an error.

Is there any way to escape the ampersand in my password string so I can create a batch file for connecting?

I tried the "obvious", like "\" and "&amp;".

Thanks!

Category: SSL VPN
Reply

Answers

  • TKWITSTKWITS Community Legend ✭✭✭✭✭

    Did you try putting the password in quotes?

Sign In or Register to comment.