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...

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


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



any help would be appreciated.

My System SpecsSystem Spec
28 Nov 2011   #2

Windows 10 Pro 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 10 Pro X64

Change that line to:

"C:\Program Files (x86)\Internet Explorer\iexplore.exe",PW=root
My System SpecsSystem Spec

 Help creating a batch file to auto login to a website

Thread Tools

Similar help and support threads
Thread Forum
Creating the PPPOE internet connection using batch file
I have a PPPoE internet connetion from my ISP. Every time I want to access the internet connection I have to goto the setting and in that I have to open it and then have to dial it. This is the traditional way to log in but I wanted to make a batch file in which the PPPoE user name and password is...
Network & Sharing
Creating Batch File with Robo Copy
Hi I am currently running the following to supposedely create a directory IE V:\Backup Folder\Pictures\Backup 21-05-2012 robocopy /e "c:\users\jon\pictures" "v:\Backup Folder\Pictures\Backup %date:~-10,2%-%date:~-7,2%-%date:~-4,4%" Evrything works fine except the backed up pictures folder is...
General Discussion
Help Needed Creating Batch File
Hi, I have 2 files that are in the same directory which I want to start one after the other. I have created a simple batch file like this which opens 2 files at the same time. Example Start Server.exe Start Game.exe
General Discussion
Creating a welcoming batch file...
I need help creating batch file that will do the following... I want it to echo "Welcome (insert name here)." I want it to say "How are you today, good or bad?" If G, I want it to display, "That's great to know, sir! Would you like me to open your homepage? If Y, I want it to execute cd...
Auto shutdown batch file help
Happy new year everyone, I'm looking to create a batch file to auto shut down my machine after a certain amount of time. Just want to check if i have got the 1st part of the command right in notepad but i was not sure how i go about putting in a timer for example if my download has 2hrs left i...
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 20:29.
Twitter Facebook Google+