ampersand in password
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 "&".
Thanks!
Answers
Did you try putting the password in quotes?