0

I'm trying to automatically fill a username and password box that the command I run asks for. Specifically:

net use v: https://d.docs.live.net/xxxxxxxxxx

which asks for a username and password.

would I be right in thinking if you set this as a batch file, you could then use the run as command to inject the appropriate username and password into the batch file?

Here's the prompt on the command line

2
  • 1
    net use v: https://d.docs.live.net/xxxxxx /user:username password - Try that instead.
    – n8te
    Jun 20, 2019 at 10:01
  • Cheers n8te. Worked a treat!
    – Mimir
    Jun 20, 2019 at 10:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.