Click to See Complete Forum and Search --> : How do I make a CDR open up automatically when inserted into the CD Rom


maximus729
07-17-2001, 03:09 PM
I know that I need a autorun.ini file.
It goes something like this:

[autorun]
open:???????????
icon:???????????

I don't remember what I need to type in so that when I insert the cd the contents of the cd will poop up in a window automatically. Any help would be great...

Pinky
07-17-2001, 04:44 PM
Originally posted by maximus729:
I know that I need a autorun.ini file.
It goes something like this:

[autorun]
open:???????????
icon:???????????

I don't remember what I need to type in so that when I insert the cd the contents of the cd will poop up in a window automatically. Any help would be great...

Under the [autorun] section, you've almost got it. Replace the colons with the equals sign, like this:

[autorun]
open = yourprogram.exe
icon = icon.ico




------------------
Embrace this moment. Remember we are eternal. All this pain is an illusion.

[the man] (http://darksavior.net/~pinky/) [the real man] (http://inst.augie.edu/~gmgunder) [the specs] (http://darksavior.net/~pinky/pinkyspecs.txt)

Goodbye, OT :(

maximus729
07-17-2001, 05:27 PM
That helps some, but what I really what to be able to do is put the cd in the drive and have the contents of the drive just open up in a window, just like if I went through my computer and opened up the cd rom. I don't what to run a specific program, I just need it to show the contents of the drive. What is the right command to get this to happen. Thanks

Galen of Edgewood
07-18-2001, 10:03 AM
Originally posted by maximus729:
That helps some, but what I really what to be able to do is put the cd in the drive and have the contents of the drive just open up in a window, just like if I went through my computer and opened up the cd rom. I don't what to run a specific program, I just need it to show the contents of the drive. What is the right command to get this to happen. Thanks

Try using the command

[autorun]
open = explorer.exe .
icon = (whatever)

I think that it might work, if you are running a MS OS (which I'm assuming that you are). I've tried this on my NT box and it works (at least, the commandline works fine). Give it a shot, this might be your solution.

------------------
"Being disintegrated makes me ve-ry an-gry!" <huff, huff>

Become one of the few, the proud, the SETI Team @ SE. (http://iosef.ssl.berkeley.edu/cgi-bin/cgi?cmd=team_lookup&name=SE+Overclockers)