FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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..
Related topics
where does index.htm go?
751 Useful Windows XP Files
How do i make "_derived/nortbots.htm"??
Getting rid of extension (.htm, .html, .shtml, etc.)
Where;s better way using javascript link or write inside htm
Music CD's Autoplay
Problem with autorun DVD..!
PHP in HTM or vice versa for search ranking
usb autorun?
autorun: nothing to choose?
USB bug
a very good free software for killing autorun virus.
Question about hosting:)
PHP loading in .htm and .html sites
Reply to topic    Frihost Forum Index -> Scripting -> Others

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