Closed Thread Icon

Preserved Topic: Autorun Problems Pages that link to <a href="https://ozoneasylum.com/backlink?for=15946" title="Pages that link to Preserved Topic: Autorun Problems" rel="nofollow" >Preserved Topic: Autorun Problems\

 
Author Thread
Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 05-12-2001 01:21

I'm putting together a CD version of a client's Web site and they want it to automatically run when you put the CD in. This is what my autorun.inf looks like:

[autorun]
Open=moore\index.html


When I insert the CD, I get the following message:

Access to the specified device, path, or file is denied.

I've tried putting index.html in the root of the cd and using Open=index.html, but I get the same thing, so it apparently has nothing to do with the path.

I've inserted the CD in two separate drives in two separate computers and get the same error message. Anyone know what I'm doing wrong?

(Incidentally, before someone asks -- yes, auto-insert notification is on. If it weren't, I wouldn't get the error message when I put the CD in.)


kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 05-12-2001 01:32

Just a thought but do you have to type

Open=D:\moore\index.html

???

Dan
Paranoid (IV) Mad Scientist

From: Calgary, Alberta, Canada
Insane since: Apr 2000

posted posted 05-12-2001 01:58

I don't think you can run autorun from a sub-directory, enless you specify drive. And if you specify the drive letter, if the person has a 2nd hard drive, it might mess up the autorun.

Try making a different index file that links to the one in the moore directory. And place it right on the main part.
Then try
[Autorun]
Open=index.html

- Dan -

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 05-12-2001 02:20

yeah, what he said. I've never seen one call a file inside a subdir, always same as autorun.

Hi Dan, long time no see.

Jason

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 05-12-2001 04:39

Like I said, I tried that.

And you should be able to open a file in a subdirectory, anyway, according to Microsoft:

The Open=CmdLine field is a command line (which may include arguments) that will be executed by the system when the disc is inserted. If you specify a path before any EXE file, that path is relative to the root directory of the CD-ROM disc.

(http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0998/win320998.htm&nav=/msj/0998/newnav.htm)

So, the problem has to lie somewhere else. I read on some site that you should be able to open an HTML file using open=index.html and it should open using your default browser, just like double clicking the file in Explorer. But, so far, it isn't working.


JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 05-12-2001 04:47

my apologies Wes, I should read more carefully. I can't help with the html autorun, seems like a problem that's ringing a bell but it just keeps ringing. I can however recommend a piece of shareware that can build autorun CDs and package your whole deal in an exe file that the autorun.inf calls: http://www.zdnet.com/downloads/stories/info/0,,000TJA,.html it's good, and cheap if you want it.

Jason

« BackwardsOnwards »

Show Forum Drop Down Menu