Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Help with autorun.inf file.

Reply
Thread Tools

Help with autorun.inf file.

 
 
Big-Dave
Guest
Posts: n/a
 
      04-07-2004
Hi, I have tryed to get a web-page to run
when I insert a cd. Heres my autorun.inf,
all files are in the same place. Other cd's
will auto start. I am missing something?
I am using win-xp home.
Thanks
Dave

-=-=-=-=-=-=-=-=-=-=-=-=-=-
[autorun]
OPEN=iexplore dan.html
ICON=MyIcon.ICO

[autorun]
OPEN=dan.htm
ICON=MyIcon.ICO



 
Reply With Quote
 
 
 
 
Revd. Norle Enturbulata
Guest
Posts: n/a
 
      04-07-2004

"Big-Dave" <(E-Mail Removed)> wrote in message
news:c51fqf$vp4$(E-Mail Removed)...
> Hi, I have tryed to get a web-page to run
> when I insert a cd. Heres my autorun.inf,
> all files are in the same place. Other cd's
> will auto start. I am missing something?
> I am using win-xp home.
> Thanks
> Dave
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-
> [autorun]
> OPEN=iexplore dan.html
> ICON=MyIcon.ICO
>
> [autorun]
> OPEN=dan.htm
> ICON=MyIcon.ICO


Does even the browser open?

--
Steve Goodman
* EarthLight Productions
* http://www.earthlight.net


 
Reply With Quote
 
 
 
 
Big-Dave
Guest
Posts: n/a
 
      04-07-2004
Hi, thanks for the reply. No IE doesen't open, the
light on the cd-rom sputters ant it wines but no-
open into my broweser(IE). As I said I tryed an
aol disk and it opened. So I copyed aol's
autorun.inf to my directory and changed
cdpicker.exe to dan.html, but no banana!!
Dave


 
Reply With Quote
 
Mitja
Guest
Posts: n/a
 
      04-07-2004
"Big-Dave" <(E-Mail Removed)> wrote in message
news:c51fqf$vp4$(E-Mail Removed)...
> Hi, I have tryed to get a web-page to run
> when I insert a cd. Heres my autorun.inf,
> all files are in the same place. Other cd's
> will auto start. I am missing something?
> I am using win-xp home.
> Thanks
> Dave
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-
> [autorun]
> OPEN=iexplore dan.html
> ICON=MyIcon.ICO
>
> [autorun]
> OPEN=dan.htm
> ICON=MyIcon.ICO
>


The thing that may well confuse Windows is that you specify the parameters
twice. What should it run, "iexplore dan.htm" or "dan.htm". The answer is,
of course, the former, so omit the latter. Also, try writing iexplore.exe
instead of just iexplore.

This solution, however, enforces use of IE. Try the ShellExecute parameter
rather, lik this:

[autorun]
SHELLEXECUTE=dan.htm
ICON=...

This should have the same effect as double-clicking dan.htm, presuming that
autorun is enabled.

Mitja


 
Reply With Quote
 
Hywel
Guest
Posts: n/a
 
      04-07-2004
In article <c51fqf$vp4$(E-Mail Removed)>, http://www.velocityreviews.com/forums/(E-Mail Removed) says...
> Hi, I have tryed to get a web-page to run
> when I insert a cd. Heres my autorun.inf,
> all files are in the same place. Other cd's
> will auto start. I am missing something?
> I am using win-xp home.


Do a google on "html autorun". ILTM that your file is screwed - IIRC
your method won't work, and you'll need something like SHELLEXEC, or
summat.

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
 
Reply With Quote
 
Revd. Norle Enturbulata
Guest
Posts: n/a
 
      04-07-2004

"Big-Dave" <(E-Mail Removed)> wrote in message
news:c51fqf$vp4$(E-Mail Removed)...
> Hi, I have tryed to get a web-page to run
> when I insert a cd. Heres my autorun.inf,
> all files are in the same place. Other cd's
> will auto start. I am missing something?
> I am using win-xp home.
> Thanks
> Dave
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-
> [autorun]
> OPEN=iexplore dan.html
> ICON=MyIcon.ICO
>
> [autorun]
> OPEN=dan.htm
> ICON=MyIcon.ICO


Try this: http://www.karenware.com/powertools/ptautorun.asp


 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      04-07-2004
in post: <news:c51fqf$vp4$(E-Mail Removed)>
"Big-Dave" <(E-Mail Removed)> said:

> Hi, I have tryed to get a web-page to run
> when I insert a cd.


[autorun]
shellexecute=index.html

shellexecute=[filepath\]filename[param1, [param2]...]
Parameters

filepath
A string that contains the fully qualified path of the directory that
contains the data or executable file. If no path is specified, the file
must be in the drive's root directory.

filename
A string that contains the file's name. If it is an executable file, it
is launched. If it is a data file, it must be a member of a file class.
ShellExecuteEx launches the default command associated with the file
class.

paramx
Contains any additional parameters that should be passed to
ShellExecuteEx.

Remarks
This command is similar to open, but it allows you to use file
association information to run the application.

Autorun.inf Commands
http://msdn.microsoft.com/library/en...oplay_cmds.asp

Creating an AutoRun-Enabled Application
http://msdn.microsoft.com/library/en...play_works.asp


--
b r u c i e
 
Reply With Quote
 
Big-Dave
Guest
Posts: n/a
 
      04-07-2004

Success!!!
Thanks for all the help. I had Karen's autorun program
however I always like to code it me self . Anyway I
put the info in her progie and in BINGO, the thing
works perfect. It produces this..

[Autorun]
open=PTStart.exe DAN.HTML
icon=MyIcon.ICO

This completes this project, but I still want to find
out why I can't code it. I tryed iexplore.exe instead
of iexplore but still did not work. I will check out
some of the links toy guys sugested.
Thanks
Dave




Try this: http://www.karenware.com/powertools/ptautorun.asp



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Help Help Pentax S5i Help needed (Please) The Martian Digital Photography 14 06-20-2008 07:56 AM
HELP - HELP - HELP =?Utf-8?B?S2ltb24gSWZhbnRpZGlz?= ASP .Net 4 03-09-2006 12:46 PM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 1 07-16-2004 01:12 PM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 0 07-16-2004 10:00 AM
HELP! HELP! HELP! Opening Web Application Project Error =?Utf-8?B?dHJlbGxvdzQyMg==?= ASP .Net 0 02-20-2004 05:16 PM



Advertisments