Can you make a variable out of a folder name?

There is probably a better way to do this but what I want but here’s what I’m looking at.

I’m doing an image viewer for an Art gallery and they will feature as many as thirty artists. I created a general image viewer that works to draw all the images and info from a certain folder. What I want to do is just create thirty folders with different names when some one clicks on the artist name it assigns a folder name to certain variable that the image viewer uses to load up the images and the info. Can I do it? Is it a stupid way to do it? What’s the better way then?

zago, a.k.a. RobotLOVE <coming soon>