
There are a couple things going on here that require an explanation.
The
first line gives the command to change to the pictures directory, then
the second line executes the PiX.exe picture viewing program.
As this runs you will see that there is a command window open, so the last command cleans up by closing the command window.
Now
that you have your autorun.inf and your autorun.bat file complete we
can discuss the directory structure you will need to set up in order
for this whole thing to work.
Directory StructureHere you can see that I have created a test directory. In it I have placed my autorun.bat and my autorun.inf files.
This will be the root directory in the Picture Disk.
Here
you can see that I have also created a pictures directory and put all
my pictures in it along with the PiX.exe viewer program.
The Picture Viewing ProgramThere are many programs available to view pictures. I have searched far and wide and have come upon the Pix Viewer.
It is a freeware program and can be downloaded at
http://codershole.com/ The
author of the program created it just for this purpose. It is a small
standalone executable file that views .jpg .gif and .bmp files.
You
will need to make sure that all of the pictures you place in your
pictured directory have the correct extensions. You won't get any
errors, the pictures just will not be displayed.

The Basics of PiX ViewerWhen
the PiX viewer starts you can see that the pictures in your directory
are displayed on the left hand side of the application window.
You can go through each picture individually by clicking on the file name.
If you so choose you can have a full screen slide show. Below the image there is a button "
Start Slide Show".
Just press it to start the full-screen show. But first put in a
time (in seconds) for each of the pictures to be displayed.
That's all there is to it!
Putting it all TogetherWe now have everything we need:
- Autorun.inf file
- Autorun.bat file
- Picture Viewing Application
We also understand the directory structure that is necessary for it all to work.
- Create your Test Directory -
- Place the Autorun.inf and the Autorun.bat file in the "root directory"
- Create the pictures directory
- Place your pictures and the PiX.exe file into the pictures directory.
Your layout should look just like the image below.

I suggest that you now "test" your setup by double clicking on the autorun.bat file.
This should fire up the PiX viewer and you can verify that you see all your images, and can test the slide show function.
Of
course the only thing not tested here is your autorun.inf file, but
because there were only two lines I am hoping that you got it right.
For
the purposes of this tutorial I will assume that you have the
understanding to operate your CD/DVD burning software and are able to
burn this directory structure to a disc. A future tutorial may deal
with the logistics of burning a disk. For now if you can't do it, just
ask a friend.
ConclusionI hope you found this tutorial helpful.
Please give me feedback on any questions or suggestions you may have.
These tutorials are always a work in progress, and your help is appreciated.
loren@insidethecomputer.com If you would like please visit my website -
http://www.theteachingbox.com I
have made a small zip file available in my download area with all this
information as well as copies of the autorun.inf and autorun.bat files
we have discussed.
I will also include the PiX viewer executable file.