When you "picked" the DESCRIBE image, or any of the other images, the image file name was saved to PICK.TXT. NAMEONLY.EXE stripped the .GIF extension and then provided the remaining word to DESCRIBE.EXE. DESCRIBE.EXE then searched the file MAIN.TXT for a match to the word. When a match is found, the paragraph, up to 12 lines, containing the word can be displayed, or saved to another file, in this case called PSRUN.BAT. The batch file PSRUN.BAT is then told to run. Essentially, the selection of an image has been used to load and run a program or can simply query a text file. You are reading an ASCII text file called DEMO4.TXT. Much of this demo is based on the following batch file setup. @echo off cls :again psdemo -n2 -d12 -pPICK.TXT -r @fotolist.txt if not exist pick.txt goto end nameonly pick.txt | describe main.txt psrun.bat CALL PSRUN CLS goto :again :END PAUSE