Discussion Locked

How to open a .htm file with autorun.inf

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hiya folks.

I've been struggling to learn how to open a .html file off a cd by editing the autorun.inf in the root directory of the cd.

So far i am having trouble because it is demanding a .exe file with the "open" command instead of accepting the .htm file and running internet explorer to just auto open the damn thing.

any suggestions?

-thanks!
-ginel

7 replies

by otura

You ask for a suggestion and this is what you'll get... :)))

Try out this:

OPEN=iexplore.exe MyPage.htm

This covers both requeriments... gets an .exe file and you pass the .htm file as argument...

I hope this work for you...

by public

I KNEW it was simple, but damn it i couldnt figure it out. thank you very much.

-ginel

by otura

If it doesn't work try combinations with diferent quotes:

OPEN='iexplore.exe MyPage.htm'

OPEN="iexplore.exe MyPage.htm"

OPEN=iexplore.exe 'MyPage.htm'

by comdex20

I suggest you have some fun with the NT Service pack 3 CD... it opens the service pack via a program called shelexec.exe in the bin\i386 directory.. of the cdrom...
the autorun.inf looks like:
[autorun]
OPEN=Bin\i386\ShelExec ntsp3.htm
[autorun.alpha]
OPEN=Bin\Alpha\ShelExec ntsp3.htm
[autorun.x86]
OPEN=Bin\i386\ShelExec ntsp3.htm

... good luck
P.s. E mail me if you need the exe...

This discussion is closed to new replies.