|
|
Subject:
Batch file scripting in Windows (using rasdial)
Category: Computers > Operating Systems Asked by: digitalsierra-ga List Price: $4.00 |
Posted:
02 Jul 2006 21:43 PDT
Expires: 01 Aug 2006 21:43 PDT Question ID: 742903 |
I'm trying to create a batch file within Windows XP Pro(SP2) to do a VPN connection. If I type the following at a command prompt it works fine and I'm connected... rasdial "my office" vpn "funny%^face" "my office" is the VPN connection I've already created vpn is my username funny%^face is my password If I stick the above line into a batch file and run that, it says "error 691 - Access was denied because the username and/or password was invalid on the domain". I've checked the spelling of my password a dozen times, it's correct. If I replace "funny%^face" with * , it asks me for my password and then connects. For some reason it won't connect when I keep the password in my batch file. (I can secure my file later with permissions/encryption). Please help. |
|
There is no answer at this time. |
|
Subject:
Re: Batch file scripting in Windows (using rasdial)
From: iamdeux-ga on 03 Jul 2006 13:41 PDT |
It`s not right to use special symbols like "%" in batch file as password. Try to change your password to more simple ( like: thisMYpass123 ). It would help. Content of batch file must be like that: rasdial "my office" vpn "thisMYpass123" |
Subject:
Re: Batch file scripting in Windows (using rasdial)
From: digitalsierra-ga on 04 Jul 2006 13:26 PDT |
Yes. It was that % symbol that was causing me grief. Thanks iamdeux-ga! |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |