New
#1
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.