How to run a script on windows 7 with the evidence?

All good!
Please tell me what key you need to run the command on Windows,the next dialog box, you should not have to click 'ok'
Example: run the script connection is already established even earlier VPN :
rasphone -d "MyVPN"
Then POPs up a window which already has all the data (user,indeed) just only click "ok" "connect"
I want after running the command, it was not necessary to push.In principle, trying to do something like :
rasphone -d "MyVPN" -y && run other app
July 9th 19 at 11:21
3 answers
July 9th 19 at 11:23
You can use rasdial

rasdial %conn% %login% %pass%
July 9th 19 at 11:25
You've looked at all the command options? While uncomfortable to look, if not, then there is an option to solve programmatically using autoit or whatever, or almost any language
July 9th 19 at 11:27
The question is not correct. For most teams (or rather programs) the list of options is given the key "/?". For rasphone desired option does not exist, but in the connection properties there is a Parameters tab, which disabled the requirement to click the "OK" button. This is a typical Windows way.

Find more questions by tags VPNcmd/batWindows