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.



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:




News »
Dunedin as an innovation hub
Posted 22-Aug-2014 09:06


When venture capital hurts start-ups
Posted 21-Aug-2014 19:54


Long wait for ARM servers
Posted 21-Aug-2014 19:35


Firefox now or no choice later
Posted 21-Aug-2014 08:41


New Zealand’s Fastest ISPs 2014
Posted 20-Aug-2014 16:27


NZ Games Industry launches Business Startup Competition
Posted 20-Aug-2014 12:25



Trending now »
Hot discussions in our forums right now:

Vodafone TV multicast settings on pfSense?
Created by kenkeniff, last reply by TimA on 21-Aug-2014 19:35 (90 replies)
Pages... 4 5 6


CGA. Is it fair?
Created by BTR, last reply by bazzer on 22-Aug-2014 11:02 (86 replies)
Pages... 4 5 6


UFB provider comparison
Created by Rappelle, last reply by dcole13 on 21-Aug-2014 20:43 (23 replies)
Pages... 2


Lightbox press event release
Created by freitasm, last reply by reven on 22-Aug-2014 11:20 (467 replies)
Pages... 30 31 32


Free: Smart Button for your Android device
Created by freitasm, last reply by wasabi2k on 22-Aug-2014 11:15 (99 replies)
Pages... 5 6 7


It was hardly 'hacking' was it?
Created by CB_24, last reply by gzt on 21-Aug-2014 22:26 (97 replies)
Pages... 5 6 7


How to refresh WinXP
Created by Rickles, last reply by allan on 20-Aug-2014 14:25 (19 replies)
Pages... 2


Vodafone now charging you to receive a bill via post
Created by stocksp, last reply by johnr on 22-Aug-2014 10:03 (82 replies)
Pages... 4 5 6



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.