i tried:
@echo off
cls
set var1=http://www.swagbucks.com/?sfp=h&t=w&p=1&q=
start %var1%%random%
but i get an error. i want it to go to var1 with a random number added to the end.
any help?
@echo off cls set var1=http://www.swagbucks.com/?sfp=h^&t=w^&p=1^&q= start "%var1%%random%"You have to escape the ampersands.
Can I put a question here?
it brings up annother instance of cmd with a title of the websight i want...
@echo off cls set var1=http://www.swagbucks.com/?sfp=h^&t=w^&p=1^&q= start "P:\a\t\h\Internet Browser.exe" "%var1%%random%"Give that a try, for some reason mine opens up in firefox on it's own. Change the path to fit the browser of your choice.
Can I put a question here?
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |