ajetrumpet
Banned
- Local time
- Today, 11:51
- Joined
- Jun 22, 2007
- Messages
- 5,638
Hi Folks. Here is some code to navigate automatically to an IE page in Dos:
What I want to do is do the same thing but have it open multiple pages, fill text boxes with login information, and login with the click of the button so I can see what's going on within my accounts. Comments anyone? thanks!
Also, I would like to do it through firefox, but if IE is easier, it really doesn't matter.
Code:
@echo off
@setlocal
:openurl
set url=MY WEB PAGE HERE
if "%url:~0,4%" == "http" (
start "%ProgramFiles%\Internet Explorer\iexplore.exe" "%url%"
)
if NOT "%url:~0,4%" == "http" (
start "%ProgramFiles%\Internet Explorer\iexplore.exe" "http://%url%"
)
shift
if "%~1" == "" goto :end
goto :openurl
:end
Also, I would like to do it through firefox, but if IE is easier, it really doesn't matter.
Last edited: