Help creating a batch file to auto login to a website

abefi1984

New member
Local time
10:03 AM
Messages
2
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 Computer My Computer

At a glance

windows 7 premium 32
OS
windows 7 premium 32
Where is it failing? What is TITLE after the do supposed to accomplish?
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

windows 7 premium 32
OS
windows 7 premium 32

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top