autorun

G

Gordon

Hi...

I want my FrontPage-designed site to autorun from a CD, and have a single
file called index.htm, a folder with all the necessary files in it, and a
file called autorun.inf, which is written so:

[autorun] ShellExecute=index.htm

It doesn't work - the folder merely opens. I can, of course click on the
..htm file, and all works fine, but I rather fancy the autorun ability...

I'm running Windows XP.

Any ideas?

Thanks,

Gordon



--
--------------------------------------------------------------------

Gordon Stewart

www.gordon-stewart.co.uk

Phone: 020 7263 8987 or Mobile: 07710 284431

--------------------------------------------------------------------
 
M

Mark Fitzpatrick

Most of the CDs target an actual executable. Mine use a file called
ShelExec.exe to open the actual default file like so:
[autorun]
OPEN=Autorun\ShelExec default.htm
(my shelexec program is in a sub-directory called autorun).You should be
able to find the shelexec.exe file on one of your CDs though it may take a
little searching since so many programs now are using custom launchers.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
G

Gordon

Mark Fitzpatrick said:
Most of the CDs target an actual executable. Mine use a file called
ShelExec.exe to open the actual default file like so:
[autorun]
OPEN=Autorun\ShelExec default.htm
(my shelexec program is in a sub-directory called autorun).You should be
able to find the shelexec.exe file on one of your CDs though it may take a
little searching since so many programs now are using custom launchers.

Hope this helps,
Mark Fitzpatrick

Thanks for the help Marc - a search for shelexec on Google got me the
results I needed,

Gordon
 
C

chris leeds

oddly, I've been able to get by with just the shellexecute and the index
file name.
is it possible you've got autorun turned off?
BTW what did the google search give you that worked?

Gordon said:
Mark Fitzpatrick said:
Most of the CDs target an actual executable. Mine use a file called
ShelExec.exe to open the actual default file like so:
[autorun]
OPEN=Autorun\ShelExec default.htm
(my shelexec program is in a sub-directory called autorun).You should be
able to find the shelexec.exe file on one of your CDs though it may take a
little searching since so many programs now are using custom launchers.

Hope this helps,
Mark Fitzpatrick

Thanks for the help Marc - a search for shelexec on Google got me the
results I needed,

Gordon
 
G

Gordon

chris leeds said:
oddly, I've been able to get by with just the shellexecute and the index
file name.
is it possible you've got autorun turned off?
BTW what did the google search give you that worked?

Chris...

Autorun is on - and the site at http://www.naughter.com/shelexec.html
provided an .exe that autoruns my .htm file.

Oddly it runs when I insert the disc into my CD player, but not when I click
on the relevant drive icon in My Computer, when it searches out the first
index.htm file that it can find in my System32 folder and opens it!

Curious.

Gordon
 
C

chris leeds

thanks Gordon, I bookmarked it. I appreciate it. I haven't had the problem
yet but it'll be good to have when I eventually do ;-)
cl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top