I'd use the wc command with the -m flag to ge the number of charactes used in the file name. You could use an awk substr to mod the name if longer than 64. -- Magnus Andersen Systems Administrator / Oracle DBA Walker & Associates, Inc.