I have a Windows 10 and a Windows 7 machine on which I want to open an https website with a batch file. The batch file must contain the credentials (password, username) and a value for the Domain field. The Domain field is a drop down field in the website with values such as 'XYZ'. I would like to deposit a certain value here. The aim is for the user to be automatically logged in to the website by double-clicking on the batch file.
How do I write the username, the password and the domain in the batch file correctly?
I started with this, the internet explorer is opening but nothing is happening.
@ECHO OFF start iexplore curl -u username:password https://mywebsite.com