captchadreams
Power Member
- Sep 19, 2008
- 509
- 133
I'm new to batch files.. and trying to write one to automate changing my ip. can you help me out? .. here's the source:
<TR>
<TD align=CENTER valign=MIDDLE><INPUT TYPE=BUTTON onclick="RebootDevice();" class=button VALUE=" OK "></INPUT></TD>
<TD align=CENTER valign=MIDDLE><IMG border=0 src="empty.gif" name="empty" width="5" height="28"></TD>
<TD align=CENTER valign=MIDDLE><INPUT TYPE=BUTTON onclick="window.top.location.href='advanced_menu.htm'" class=button VALUE=" Cancel "></INPUT></TD>
<TD align=CENTER valign=MIDDLE><IMG border=0 src="empty.gif" name="empty" width="5" height="28"></TD>
</TR>
...here's what I tried:
@echo off
wget -q --user=admin --password=password --post-data=submit=OK -O nul http://192.168.1.1/restart.htm
I have wget in the same folder as the bat file.. the verizon modem/router model number is: 327w
can anybody help me out? I'd really appreciate it.
<TR>
<TD align=CENTER valign=MIDDLE><INPUT TYPE=BUTTON onclick="RebootDevice();" class=button VALUE=" OK "></INPUT></TD>
<TD align=CENTER valign=MIDDLE><IMG border=0 src="empty.gif" name="empty" width="5" height="28"></TD>
<TD align=CENTER valign=MIDDLE><INPUT TYPE=BUTTON onclick="window.top.location.href='advanced_menu.htm'" class=button VALUE=" Cancel "></INPUT></TD>
<TD align=CENTER valign=MIDDLE><IMG border=0 src="empty.gif" name="empty" width="5" height="28"></TD>
</TR>
...here's what I tried:
@echo off
wget -q --user=admin --password=password --post-data=submit=OK -O nul http://192.168.1.1/restart.htm
I have wget in the same folder as the bat file.. the verizon modem/router model number is: 327w
can anybody help me out? I'd really appreciate it.