Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I Would like to click on .Bat file that opens 2 URLs in different browsers (Firefox and IE) then click on button located on the each page (ex. Submit or login buttons) .

This is what I got so far in the bat file:

start iexplore    
start firefox
share|improve this question

As mentioned, .bat files aren't the best way to scrape or automate websites. Depending on what you are trying to do, you might want to take a look at GreaseMonkey; a script engine extension for firefox. Another popular choice is to use python, which has multiple libraries available to parse html/xml (e.g. beautifulsoup), in addition to easy web interfaces to request and receive. And if the goal is just to deal with email, these email services can return XML. For example, in gmail, to check your current status, you can issue this URL:

Where, username and password is your actual values. Also note the https instead of http.

share|improve this answer
Perhaps even an AutoHotKey/AutoIt script depending on requirements... – Karan Jan 23 '13 at 15:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.