| General Computing and Internet This is a discussion on, BAT wizard needed within the Community Forums forum; Hello, One of my batch files uses "start" to open a web page. This works on my ME machine but ... |
![]() |
![]() |
|
LinkBack | Thread Tools | ![]() |
|
|
#1 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
BAT wizard needed
Hello,
One of my batch files uses "start" to open a web page. This works on my ME machine but fails on my XP machine. All the other code works, does any body now how to over come this limition on XP? Anynore info needed please ask. Regards Ian
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
|
|
#2 |
|
Join Date: Oct 2005
Location: Kent, England
Posts: 1,646
Thanks: 0
Thanked 0 Times in 0 Posts
|
putting start www.google.com in a bat file works for me in windows pro sp2
|
|
|
|
|
|
#3 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
Thats a bummer.
The below is all on one line and it fails. start http://www.multimap.com/map/photo.cg...b=&coordsys=gb Looking a bit closer when the page loads everything after the first & is missing. Very frustrating.
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
|
|
#4 | |
|
Join Date: Oct 2005
Location: Kent, England
Posts: 1,646
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
it appears windows cannot process some parts of the link, it cannot understand the language being presented. link.bat contains start http://www.multimap.com/map/photo.cg...b=&coordsys=gb |
|
|
|
|
|
|
#5 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
Bit of a bummer, this one.
It work on my ME machine perfectly. Will have to not run it tonight, as I’ve lent my ME machine out for a few days. Should have lent this one, dam it. Thank any way. At least I’m not going daft.
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
|
|
#6 |
|
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,370
Thanks: 3
Thanked 20 Times in 19 Posts
|
Put the url in quotes, it should work fine.
Alternatively use iexplore.exe "http://www.google.co.uk" I know it works, I use it daily at work. |
|
|
|
|
|
#7 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
Thanks Chaz.
Inserting iexplore.exe after start and removing http:// and put the rest in quotes gets it going. I thought that the rest would work. Dam & double dam, it would seem that choice.com ain't there. so my time delay doesn't work. I was using "type nul | choice.com /n /cy /ty,10>nul" *for other people reading this, without the quotes! Got any ideas how to introduce a delay on my XP machine?
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
|
|
#8 |
|
Tiscali User Member
Join Date: Apr 2005
Posts: 425
Thanks: 0
Thanked 0 Times in 0 Posts
|
why'd you need the delay? could try "start /w" if you want the batch file to wait until you close the browser?
or.. you could use teh time delay built into the ping command.. i cant remember the command now but its ping /t or something.. have a look on google
|
|
|
|
|
|
#9 |
|
Join Date: Oct 2005
Location: Kent, England
Posts: 1,646
Thanks: 0
Thanked 0 Times in 0 Posts
|
after further correct input from Chaz I can confirm the following works for me.
start iexplore.exe "http://www.multimap.com/map/photo.cgi?client=public&X=436500&Y=309500&scale=50 00&width=700&height=400&gride=&gridn=&lang=&db=&co ordsys=gb" start firefox.exe "http://www.multimap.com/map/photo.cgi?client=public&X=436500&Y=309500&scale=50 00&width=700&height=400&gride=&gridn=&lang=&db=&co ordsys=gb" using only this does not work: start "http://www.multimap.com/map/photo.cgi?client=public&X=436500&Y=309500&scale=50 00&width=700&height=400&gride=&gridn=&lang=&db=&co ordsys=gb" |
|
|
|
|
|
#10 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
I need the delay, because the batch file gets another page. without it, it would all go by in a flash. and the /w switch wouldn't help out either.
The delay is being used to hold off while the first page loads, then moves onto the next page and so on. This I runs over night whilst I sleeping. It loads the page in the same ie window. On my xp machine it all goes to pot. we've got the first page to load (thanks guys), but on the next page to retrieve it open a new IE window and introduces http://%22 at the beginning... thus, without # #http://%22http//www.multimap.com/map/photo.cgi?client=public&X=445500&Y=280000&scale=50 00&width=700&height=400&gride=&gridn=&lang=&db=&co ordsys=gb"# I've copied choice.com from my ME disc, so that sort of works, just can't get it to do less than 10 seconds (had it set at 8 seconds), just have to live with that. If I can get this annoying subsequent pages problem sorted out, it'll all work. If not I'll have to wait for my trusty ME machine to come back home. ****update**** wordpad & notepad on the xp machine was introducing %22, using a different solves that problem. I'm now left with the multiple IE windows problem.
__________________
Grumpy Old Geezer Peoples Republic of Billericay Last edited by grumpyoldgeezer; 19-06-2007 at 02:54 PM. Reason: updated |
|
|
|
|
|
#11 |
|
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,370
Thanks: 3
Thanked 20 Times in 19 Posts
|
What exactly are you trying to achieve?
There is no 'wait' or sleep command built into xp's implementation of dos but there are means to cause a delay such as pinging yourself to force a delay, or you could use the Resource Tools to get hold of the SLEEP command which will sit for x seconds. |
|
|
|
|
|
#12 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
My bat files, go & get multible web pages, one after the other, every 8 seconds. I've been do it for weeks on my ME machine. But foolishly I lent that machine out for a few days, which left me with a XP machine. I'd thought it would just work, but alas no. The only problem I have now is that it opens a new IE window for each page, unlike the ME machine, that uses the same IE window for each page fetched. If my ME machine wasn't 50 miles away, I'd just swop them.
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
|
|
#13 |
|
Join Date: Sep 2004
Location: Ayr, Scotland
Posts: 587
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|
|
|
|
#14 |
|
Tiscali User Member
Join Date: May 2006
Location: Peoples Republic of Billericay
Posts: 85
Thanks: 7
Thanked 0 Times in 0 Posts
|
I don't have access to the resource kit, so timeout, sleep etc. I can't use.
The /B switch only applies to the dos window. The ping command is ping -n 10 127.0.0.1>nul Replacing 10 with whatever. I may use this, if I can get over the ever increasing IE windows opening. Which is the only problem left.
__________________
Grumpy Old Geezer Peoples Republic of Billericay |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| clarification needed please | martynbeech | Freedom2Surf Broadband | 5 | 26-05-2007 01:21 PM |
| Help with Billion router needed | ives31 | Freedom2Surf Broadband | 9 | 14-01-2007 06:37 PM |
| More advice needed on complicated issues | the_eclectic | Freedom2Surf Broadband | 5 | 03-05-2005 04:26 PM |
| Webmail - What's needed? | Holystorm | 2 | 09-01-2004 10:08 PM | |
| Wireless Networking Help Needed | MoneyPenny | Freedom2Surf Broadband | 13 | 16-10-2002 05:57 AM |
All times are GMT. The time now is 05:30 PM.








