Computing.Net > Forums > Programming > Call local html file from batch 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.

Call local html file from batch file

Reply to Message Icon

Name: David Krings
Date: March 29, 2002 at 16:25:38 Pacific
Comment:

Hi,

how can I call from a batch an html file that is stored locally and have it come up with the default browser ?
My plan is to create a CD that calls a batch file from the autorun.inf, or has the command to show the html file right in the autorun.inf itself.
Any hint is highly appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: Tom
Date: March 29, 2002 at 16:33:44 Pacific
Reply:

I think it's:
iexplore filename.html
But I don't think there's any way of detecting the default browser. If the user doesn't have Internet Explorer, then it won't work.


0

Response Number 2
Name: David Krings
Date: March 30, 2002 at 03:32:47 Pacific
Reply:

Thank you for the hint. I tried it, but it does not work as IE looks for http://filename.html instead for filename.html.

Anyone has another idea ?


0

Response Number 3
Name: bill 2
Date: April 1, 2002 at 11:03:19 Pacific
Reply:

IE will accept C:\My Documents\Another Packard Bell Site - Format & Restore.htm


0

Response Number 4
Name: brian
Date: May 16, 2002 at 12:06:34 Pacific
Reply:

I had the same problem. Here is the solution:

"c:\program files\internet explorer\iexplore.exe" http://www.webpage.com


make sure it is all on one line


0

Response Number 5
Name: boe
Date: July 22, 2002 at 04:36:05 Pacific
Reply:

use
"c:\program files\internet explorer\iexplore.exe" d:\index.html


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

FLASH & HTML. Visual Basic



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: Call local html file from batch file

comprehensively edit an html from batch file www.computing.net/answers/programming/comprehensively-edit-an-html-from-batch-file/19080.html

Telnet from Batch File www.computing.net/answers/programming/telnet-from-batch-file/15212.html

Echo blank line from batch file www.computing.net/answers/programming/echo-blank-line-from-batch-file/13794.html