Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




40 posts

Geek


Topic # 16081 24-Sep-2007 10:26 Send private message

This is my first post on the forum, excuse me if I am in the wrong category.

I have done a search but couldn't find any previous solutions.

What I am trying to do is sort  a simple bat file, that will close all instances of IE running, and reopen an instance of it.

I have a display screen that displays info from a live SQL database, as such periodicaly it drops the display when there is a conflict.
What I am trying to do is build a batch file to close IE and reopen it, and add it as a scheduled task to start every morning, and run every half hour.

What I have done so far is just a simple "stop iexplore.exe" "start iexplore.exe"

This opens a new instance of IE but doesn't close the previous.

Any help would be much appreciated.

Cheers

Alex


Create new topic


40 posts

Geek


  Reply # 87916 24-Sep-2007 15:39 Send private message

OK, while I was pondering this I decided to change things a bit.

I have now moved to a vb script as i decide to refine my requirements a bit.

Now I want to have all instances of iexplore.exe close, and reopen a single instance in kiosk type mode.

This is where I am up to so far.

set Shell = createobject("wscript.shell")

Shell.run "iexplore -k http://192.168.1.10/warehousemgt/view4.asp"


So now I just need to add the closing of the open active instance of iexplore.exe first.

Any ideas?


Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Crew Drinking on Flights - Why!?
Created by networkn, last reply by Dratsab on 21-Dec-2014 22:04 (27 replies)
Pages... 2


Police Camera Van Disguise
Created by Reanalyse, last reply by lNomNoml on 21-Dec-2014 23:33 (75 replies)
Pages... 3 4 5


Do I have the right to return this?
Created by corksta, last reply by kiwibro111 on 21-Dec-2014 23:54 (45 replies)
Pages... 2 3


Slaughter of Innocents
Created by networkn, last reply by networkn on 19-Dec-2014 17:46 (64 replies)
Pages... 3 4 5


Spray Foam Insulation
Created by AACTech, last reply by timbosan on 19-Dec-2014 16:58 (36 replies)
Pages... 2 3


Couriers starting to charge for redelivery
Created by mattwnz, last reply by rendezvous on 19-Dec-2014 11:45 (78 replies)
Pages... 4 5 6


Google Chromecast now available in New Zealand
Created by freitasm, last reply by michelangelonz on 20-Dec-2014 10:38 (155 replies)
Pages... 9 10 11


forgot how to unlock a car door
Created by joker97, last reply by joker97 on 21-Dec-2014 07:34 (53 replies)
Pages... 2 3 4



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.