Solved

Autorun cd on windows xp

Posted on 2004-04-01
9
6,002 Views
Last Modified: 2007-12-19
I am wanting to auto run a pdf file from a cdrom, but the version of the autorun software doesn't seem to work on windows xp.  I have adobe acrobat 6 professional.  The auto run file on the adobe cd runs the acrobat installer automatically on windows xp.  is there a way I can modify this file inorder to run my pdf file from a cd I burn and if so how do I do it?
0
Comment
Question by:GRAEMEBLAND12
9 Comments
 
LVL 1

Expert Comment

by:Leroyski
ID: 10738985
I think making an autostart.ini file will do the trick. For example, if the .pdf file you want to open on your CD is in the directory directory/to/ and the file is called file.pdf, you'd have to put the following int he autostart.ini file.

[autostart]
open=directory/to/file.pdf

Oh yeah, hopefully needless to say, autostart.ini needs to be ni the very root directory of the CD. :) Not sure if that is what you're looking for, try it out on a rewritable first to be sure.
0
 

Author Comment

by:GRAEMEBLAND12
ID: 10739170
thanks for your response.  I have been working on macs for the last 7 years and vey new to pc.  The problem seems to be with the compatibilty of the PT START application and the adobe autorun application with windows xp. I have tried both with the autorun.inf without success. Although the adobe acrobat application cd runs automatically.  I have looked at the programming on the adobe acrobat autorun but do not understand it in order to alter it to autorun my pdf file.  Also I am not sure about root directory, does that mean that the files need to be in the same folder on the cd?  I have copied files directly to the cd  without seperating them in to seperate folders.
0
 
LVL 1

Accepted Solution

by:
Leroyski earned 500 total points
ID: 10739199
Just the autostart.ini/inf file needs to be in the root directory of the CD, as long as the file paths in these files lead to the correct files.

Another thing you could try with your autostart.ini file is to first start Acrobat Reader, and then starting the .pdf file. This can be done with the following autostart.ini file:

[autorun]
OPEN=c:\path\to\AcrobatReader.exe file.pdf

This is practically the same as the previous example, but this one first opens Acrobat Reader (by opening the .exe of Acrobat reader), and then opens file.pdf with the Acrobat Reader program you just opened.

A smart thing to do would be to supply a copy of Acrobat Reader on your CD, because you can't assume everyone who uses your CD has Acrobat Reader installed in for example, C:\Program Files\Adobe\Acrobat Reader\.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 48

Expert Comment

by:AlexFM
ID: 10739214
File should be called autorun.ini and not autostart.ini. I think it should start from [autorun]. If Acrobat is installed on the computer and .pdf extension is linked to Acrobat, pdg file is opened when CD is inserted.
0
 

Author Comment

by:GRAEMEBLAND12
ID: 10739265
I have tried both autorun and autostart.  The software I have used successfully in the past was PT START with a autorun command:
[autorun]
open=PTSTART.exe double click for pace.pdf

I could try open=AUTORUN.exe double click for pace.pdf

Do you think that might work?
0
 

Author Comment

by:GRAEMEBLAND12
ID: 10739279
Don't answer that it doesn't work.  
0
 

Author Comment

by:GRAEMEBLAND12
ID: 10739404
I pasted into autorun the target of the alias of adobe acrobat reader  C:\Program files\Adobe acrobat 6.0\Reader\AcroRd32.exe and the file.pdf . This opened the file automatically from the cd.  This will be perculiar to my computer so how do I get around the fact that on someone elses computer acrobat reader will be either a different version or not in the same place?  I suppose I could include the installer on the cd so that it will  place acrobat reader onto there computer.  Will this autorun instruction work for each computer after installation?  Also when I use 'quit' from a form field I created in the pdf it only exits my pdf but keeps reader open.  Acorbat 6 does not seem to have a quit function on the menu. Do you have to press the x in the red box to close the program.
0
 
LVL 10

Expert Comment

by:Kavar
ID: 10741012
instead specify
open=Start file.pdf

0
 

Author Comment

by:GRAEMEBLAND12
ID: 10812093
thanks to all for the help.
leroyski, I used the autorun command to run reader from the CD
open=D:\acroRd32 file.pdf
your comments got me headed in the right direction

XP is tricky for a MAC user!

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question