Saturday, 15 October 2011
How to create a CD autorun file
10:06 am |
Posted by
pixelfloss |
Edit Post
If you have produced the contents
for your CD and then want them to autoplay when the
disc is loaded into a computer then you should add
an autorun file to the CD. An autorun file is a simple
text file that tells the operating system which executable
file to start.
There are two main types of autorun
file that you could use:
Autorun using the 'open' command
The open command
is compatible with any PC running Windows 95 or later
(although it is possible to manually disable the autorun
feature on any computer, so if someone cannot view
your autorun application then this may be a reason).
However it can only be used for opening executable
files ending in .exe such as Flash
presentations, it cannot be used for opening documents
such as Word files, PDFs or web pages. To open documents
rather than executable files using autorun please look
at the shellexecute
command instructions below.
The icon for the autorun file looks
like the one below and the text file is called autorun.inf
In the above window the flashfile.exe part
should be replaced with the filename that you wish
to open.
To download a
open autorun.inf file to use yourself,
please right click here and go to 'Save Target
As...' and save it to a suitable location on your
computer. Then edit the flashfile.exe part
to suit your own requirements.
The shellexecute command
is more flexible than the open command and will allow
you to open nearly any file on a PC in its
native application, so can be used for PDFs, Word files,
web pages and movies where the open command would not
work. However this function was only introduced by
Microsoft in Windows 2000 and so will only work in
Windows 2000, Windows Me, Windows XP, Windows Server
2003, Vista, Windows 7 and later.
The icon for the
autorun file looks like the one below and the text
file is called autorun.inf
To download a shellexecute autorun.inf file to use yourself, please right click here and go to 'Save Target As...' and save it to a suitable location on your computer. Then edit the index.html part to suit your own requirements.
Notes about autorun files
Do not use any spaces in the file name of the document or exe file that you are linking to, always replace spaces with underscores (e.g. my_presentation.pdf ), otherwise the autorun will not work.
The autorun.inf file should always be in the top level (root folder) of the CD and not placed within a folder.
For PowerPoint presentations you do not need to create an autorun file and should use the autorun feature built-in to PowerPoint (found under 'Publish' and then 'Package for CD').
Resource: http://www.wizbit.net/business_card_cd_creating_autorun_file.htm
Subscribe to:
Post Comments (Atom)
Total Pageviews
Blog Archive
Powered by Blogger.
Quicklinks
Popular Posts
-
Follow these steps in Adobe Illustrator and Photoshop to create a range of vector shapes and graphics that can be combined into a great lo...
-
Today we’re going to learn how to create a super creative collage effect, using a range of photo manipulation, blending and compositional ...
-
Final Product What You'll Be Creating A few times a each month we revisit some of our reader’s favorite posts from throughout ...
-
I’m sure we all remember painting with sponge (or potato!) stamps as a child, but back then we didn’t really appreciate the cool distressed...
-
This a tutorial shows you how to give any normal face ia typography texture and this is the final result :
-
I’ve always love browsing the amazing style of art known as Vexel illustration and recently I decided to finally give it a go myself. Foll...
-
Follow this logo design process walkthrough to see the making of a cubist style logo design made up of lots of detailed vector facets. Not ...
-
Final Product What You'll Be Creating A few times a each month we revisit some of our reader’s favorite posts from t...
-
Follow this step by step Illustrator tutorial to create a grumpy Internet troll character. We’ll start the process with a basic pencil ske...
-
Final Image Preview This is what we’re looking to build with this tutorial.
0 comments:
Post a Comment