Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What script and EXE do I use?

Status
Not open for further replies.

CHUDMAN

Programmer
Dec 12, 2000
35
US
I am creating a CD with Docs for review and download and HTML is the primary code used to view the cd contents.

what startup file and exe refrence should i use so that when the cd is placed in the Rom drive it will automatically run within IE or Netscape by default?

Thank you,
Miller Chad L. Miller
SQA Engineer/Test Engineer
SEI/CMM level 3 certified
 
how about using netscape.exe or ie.exe ? netscape file_name.htm will open file_name.htm in netscape.
 
so in the Autorun.ini file i would designate netscape.exe
for example?

in Autorun.ini
[autorun]
OPEN=NETSCAPE.EXE

or IE.exe
How would I be able to write the script in the Autorun file to determine IE or Netscape?

Do I have to provide IE on the CD-ROM if not available?

for the .EXE should I need a Pointer to the System's IE or do I use a generic EXE on the CD-ROM?

Chad L. Miller
SQA Engineer/Test Engineer
SEI/CMM level 3 certified
 
i don't know a lot on autorun.ini files :( (but, hopefully, there must be a forum here about these !) ...
did you try with :
[autorun]
OPEN=NETSCAPE.EXE file.htm
?
if it works, then it's fine :)))) - else i'm afraid you'll have to ask someone else :-/
about determining ie or nn, or providing one of those on the cd-rom, or using the system's ie, all depends on the client. If you know for sure the client uses a standard windows configuration, then i would suggest you point to its ie, as you're sure there is one and you're sure where it's located. If you don't know for sure the client config, then i would suggest you embed one of the 2 browsers in the cd and use this one to open files (it's heavier and less elegant, but you're sure it'll be working anywhere).
 
Windows system use the mime type to resolve the application needed to open a file. eg : if you double-click on an html file in explorer, the system will run the appropriate application to handle it. May be this works also with autorun.ini. Try this :
Code:
Open=file.htm
 
"the system will run the appropriate application to handle it" --> if an application is already associated to this file type ... but yes, on a standard windows installation, you can be sure that ie will be used to open an html file.
So, once again, all depends on the client's config.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top