> What i'd like to do is get $i without the .jpg extension at the end so > it would read: Check out 'basename'. It might not be what you need, as it strips the leading path as well. Ed _______________________________________________ Ale mailing list Ale at ale.org http://www.ale.org/mailman/listinfo/ale