Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Help creating a batch file to auto login to a website

28 Nov 2011   #1

windows 7 premium 32
 
 
Help creating a batch file to auto login to a website

I have created the following batch file to automatically load and login to a site, I created it and tested it on a computer running xp, but I can't get it to work on a windows 7 machine...

"@ECHO OFF
TITLE Water Monitor Auto Start Up
mode con: cols=42 lines=1

REM Create a time delay Visual Basic file of 1 second
cd c:\
IF NOT EXIST ECHO Wscript.Sleep 1000 >> 1second.vbs

:timeloop

REM Using a for loop to count for 20 seconds to allow startup script to finish
for %%d in (20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0) do TITLE Water Monitor Auto Start Up in %%d Secs

&& ECHO. && 1second.vbs && cls

start https://10.176.136.53/www/info/Menu/CPU.html?UID=root,PW=root

:end"

any help would be appreciated.


My System SpecsSystem Spec
.

28 Nov 2011   #2

Windows 8 Core X64
 
 

Where is it failing? What is TITLE after the do supposed to accomplish?
My System SpecsSystem Spec
28 Nov 2011   #3

windows 7 premium 32
 
 

When it runs on windows 7 it opens explorer but fails to load the page or login to the page.

The title is simply to put a title on the window when the file runs.
My System SpecsSystem Spec
.


29 Nov 2011   #4

Windows 8 Core X64
 
 

Change that line to:

start
"C:\Program Files (x86)\Internet Explorer\iexplore.exe" https://10.176.136.53/www/info/Menu/CPU.html?UID=root,PW=root
My System SpecsSystem Spec
Reply

 Help creating a batch file to auto login to a website





Thread Tools



Similar help and support threads for2: Help creating a batch file to auto login to a website
Thread Forum
Batch File to set user's windows login pic Customization
Solved Creating Batch File with Robo Copy General Discussion
Help required creating batch file to read .csv file General Discussion
Help Needed Creating Batch File General Discussion
Help creating batch file General Discussion
Creating a welcoming batch file... Software
Solved Auto shutdown batch file help General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:18 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33