V
V
Vitaly2016-05-25 16:13:09
VPN
Vitaly, 2016-05-25 16:13:09

How to run a script on windows 7 with confirmations?

All the best!
Please tell me with what key you need to execute the command on Windows so that in the next dialog box you do not have to press the 'ok
'
rasphone -d "MyVPN"
button just click on "ok" "connect"
I want that after running the command you don't have to press it. Basically, I'm trying to do something like:
rasphone -d "MyVPN" -y && run other app

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#algooptimize #bottize, 2016-05-25
@user004

Have you looked at all command options? While it’s inconvenient to look, if it’s impossible, then there is an option to solve it programmatically through autoit or whatever, or almost any language

Y
Yuri Chudnovsky, 2016-05-25
@Frankenstine

The question is not correct. For most commands (more precisely, programs), the list of options is given by the key "/?". For rasphone, the desired option does not exist, but in the connection properties there is a Parameters tab, on which the need to press the "OK" button is disabled. This is the typical Windows way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question