The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-27-2009
Pitt Pitt is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 2
bat file opening multiple IE windows

I'm trying to open multiple IE windows and enter the same text and press <enter> on each. Here's an example with what I have so far.

REM Open
@echo on
start http://10.1.1.1
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password
start http://10.1.1.2
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password
@echo off
REM end

I have multiple shelves with 12 IP's each that I have to log into to retrieve data. I'm just trying to automate the login part. Each unit has an IE based webpage that you can use to admin the device.

What I have above gets close, but instead of inserting "password" on the IE page at the cursor, it inserts it in the CMD window running the script.

Thanks,
Pitt