Computing.Net > Forums > Programming > Refreshing screen using a bat file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Refreshing screen using a bat file

Reply to Message Icon

Name: Tony Short
Date: October 15, 2008 at 02:08:23 Pacific
OS: 2003
CPU/Ram: Intel XEON. 4GB of RAM
Product: Dell
Comment:

We have a dedicated computer that runs an asp page that displays photos on a slideshow.

We often receive 'The page cannot be displayed' and all we need to do is refresh the screen.

Because this screen is in our foyer for customers I'm wanting to automate a refresh say every 1 minute. Can I create a batch job that refreshes the screen? Or should I write something into the programme to automatically refresh?

Thanks

Tony



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 16, 2008 at 07:41:00 Pacific
Reply:

What's everyone's obsession with Command Scripts? VBScript is a much better language.

With CreateObject("InternetExplorer.Application")
.Visible = True
.Navigate "http://www.google.com"
WScript.Sleep 1000
Do While .Busy
WScript.Sleep 100
Loop

On Error Resume Next
Do Until Err
WScript.Sleep 60000 'In milliseconds
.Refresh
Loop
End With


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Refreshing screen using a bat file

Append tags in XML using a BAT file www.computing.net/answers/programming/append-tags-in-xml-using-a-bat-file/16992.html

creating a file using a .bat file www.computing.net/answers/programming/creating-a-file-using-a-bat-file/11035.html

I need a .bat file! www.computing.net/answers/programming/i-need-a-bat-file/16333.html