FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

autorun and .htm

 


Sparda
Hi, I was wondering if I could autorun a .htm file instead of a .exe file.

Here is the code for autorunning a .exe:
Code:
[autorun]
open=autoplay.exe


Can I do this?:

Code:
[autorun]
open=autoplay.htm


The reason I ask is because I do not want to waste a cd trying it out then it wouldn't work. Any help is appriciated.
chennai
Sparda wrote:
Hi, I was wondering if I could autorun a .htm file instead of a .exe file.

Here is the code for autorunning a .exe:
Code:
[autorun]
open=autoplay.exe


Can I do this?:

Code:
[autorun]
open=autoplay.htm


The reason I ask is because I do not want to waste a cd trying it out then it wouldn't work. Any help is appriciated.


No u cannot do that instead u must use this code in the autorun.inf file
for recent windows machines
Code:
[autorun]
shellexecute=index.htm


please make sure that ur page has the correct ext(.htm or .html)

for older dos bsed machines(win98)
Code:
[autorun]
open=start index.htm
Sparda
Thank you. This has really helped me.
Antoine_935
or simply execute a batch file opening an HTML page Wink
or create an exe opening an HTML page.
Flakky
I can help you making the exe in case you ever need it.
You can contact me and ask it if you want.
eznet
Why would you want to create an executable or batch vs. the autorun.ini? Curious..
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.