Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-17-2003, 12:15 PM   #1
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
Autorun

How do I make an autorun.inf file that displays the contents of the CD whenever it is inserted in the drive?

I am typing the following in the Notepad:


[autorun]
OPEN=


But after that I am lost. I dunno what to put there or what command should I use to make the contents be displayed in a My PC-like window.



Can anyone help me?

TIA
__________________
Darum still, füg' ich mich, wie Gott es will. Nun, so will ich wacker streiten, und sollt' ich den Tod erleiden, stirbt ein braver Reitersmann.
Nuclear Krusader is offline   Reply With Quote
Old 06-17-2003, 12:18 PM   #2
Stop winking at me!!!
 
Iman74's Avatar
 
Join Date: Dec 2001
Location: CT
Posts: 1,482
Send a message via Yahoo to Iman74
educated guess, U would say the executable would be on the root of the CD, and since CD-ROMs can be any letter, I would think you need to put the filename after the "=" without mentioning a drive letter. Did you try to search google for how to do this?

****Edit****
After replying I did a google search and found this from here. It mentions Win95, but it should work just the same.


AutoPlay works in Windows 95 by looking at the CD, or CD-ROM, that the user inserts. If it's an audio CD then it is played but if it is a CD-ROM that contains an AUTORUN.INF file in the root directory then the instructions in this are run.

Autorun - Limitations
AUTORUN.INF allows only programs, files that end in .exe or .com, to be run. AutoPlay was never intended to be used to automatically run other files, such as .htm, but StarterFile enables this limitation to be overcome.

AutoPlay was also only intended to work with CD-ROM but it can be made to work with other media such as floppy disks and Iomega zip drives and this is explained later.

Autorun - Example
A typical AUTORUN.INF file to install software would be located in the root directory of the CD and contain three lines in text format (ASCII) like this:
[autorun]
open=setup.exe
icon=setup.exe


Setup.exe would be expected to be found in the root directory of the CD.


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

StarterFile - Example
StarterFile is written to the CD-ROM along with AUTORUN.INF and enables any file to be launched, including HTML web pages.

A typical AUTORUN.INF file that includes StarterFile to launch the file welcome.htm would contain two lines in text format (ASCII) like this:
[autorun]
open=starterfile.exe start.htm


Autorun.inf, starterfile.exe and welcome.htm should all be written to the root directory of the CD.

There have been plenty of other question on this subject in EE - perhaps a EE search would prove helpful

Last edited by Iman74; 06-17-2003 at 12:21 PM.
Iman74 is offline   Reply With Quote
Old 06-17-2003, 04:32 PM   #3
Member (10 bit)
 
Join Date: Jul 2002
Location: Trivandrum, India
Posts: 800
Send a message via Yahoo to pillainp
Maybe this will help a bit. There is a free eBook here that you can download to learn how to autorun a CD:

http://www.ezau.com/ebooks/autorun.html

NPP
pillainp is offline   Reply With Quote
Old 06-17-2003, 05:16 PM   #4
Member (12 bit)
 
andyms18a's Avatar
 
Join Date: Dec 2002
Location: essex
Posts: 2,252
try this prog http://downloads.zdnet.co.uk/downloa...4-2138651.html
__________________
Join the PcMech.com Folding@Home Team and Help Save Lives! Click Here!
Life only looks greener on the other side of the fence
andyms18a is offline   Reply With Quote
Old 06-17-2003, 05:29 PM   #5
Retired
 
Kubie's Avatar
 
Join Date: Apr 2000
Location: Modesto,Calif
Posts: 4,048
NK,

Here is another little free proggy that may have something you need.

Carl

http://www.karenware.com/powertools/ptautorun.asp
Kubie is offline   Reply With Quote
Old 06-20-2003, 07:28 PM   #6
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
Thank you all for the replies.
Nuclear Krusader is offline   Reply With Quote
Old 06-20-2003, 09:51 PM   #7
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,386
Here's a nice little proggie with an autorun exe menu: http://downloads-zdnet.com.com/3000-...ml?tag=lst-0-1
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 06-21-2003, 08:58 AM   #8
Member (10 bit)
 
Join Date: Jul 2002
Location: Trivandrum, India
Posts: 800
Send a message via Yahoo to pillainp
Hi again,

If you like you can also try out Hackman, a HEX editor, that comes with a lot of other tools sucha as a CD Autorun creator. A very useful package, as I have found on ocassion:

www.technologismiki.com/hackman/


NPP
pillainp is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:04 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2