Discussion:
Autorun.inf Q.
(too old to reply)
Jonathan Morningstar
2010-05-24 22:12:26 UTC
Permalink
I am wanting to make a CD with an autorun.inf file to launch a html
document. My autorun.inf looks like this:

[autorun]
open=start install.html


On my cd, I have the following files:

autorun.inf
demo_setup.exe
install.html
setup.exe

However, this doesn't open up my html document when I put in my cd. Any
thoughts on how to make this work?

Kindest Regards,

Jonathan Morningstar
Mike Z.
2010-05-24 23:30:01 UTC
Permalink
Hi Jonathan.

My autorun.inf file has "open=setup.exe", so, I assume you do not need the
word "start". Try "open=install.html"

HTH
Mike
Post by Jonathan Morningstar
I am wanting to make a CD with an autorun.inf file to launch a html
[autorun]
open=start install.html
autorun.inf
demo_setup.exe
install.html
setup.exe
However, this doesn't open up my html document when I put in my cd. Any
thoughts on how to make this work?
Kindest Regards,
Jonathan Morningstar
.
Beverly Howard
2010-05-25 16:31:53 UTC
Permalink
Mike is correct... "start" is specific to the command window. Within
the autorun, file associations don't require it and will run
accordingly, so you can also use entries such as jpeg file names.


Related point that I just ran across... CD's will "autorun" but most
thumb drives and memory cards will not.

You can, however, use autorun.inf on thumb drives and memory cards to
add a default selection to the list of actions... for example;

[AutoRun]
OPEN=explorer.exe /n,/e,.\
ICON=SDCard.ico
ACTION=Explore this SD Card

When the card or drive is inserted, "Explore this SD Card" will be the
default selection in the "What do you want Windows to Do?" popup box.

...expanding on this, I have configuration files for my backup/filesync
program in the root of my backup cards, so, inserting a card, pressing
<enter> and doubleclicking the config file starts the sync app.

Hope that this information is of value.
Beverly Howard
Beverly Howard
2010-05-25 16:46:52 UTC
Permalink
Another tip... use relative paths... there's no guarantee that the CD
will be drive D:

Beverly Howard
Jonathan Morningstar
2010-05-27 13:58:18 UTC
Permalink
Thanks for all the knowledge! I got it figured out and you've given me
several other ideas to boot.

Respectfully,

Jonathan Morningstar
Another tip... use relative paths... there's no guarantee that the CD will
Beverly Howard
Continue reading on narkive:
Loading...