I suggest looking into the File::Basename module, which is bundled with perl. Most current documentation can be found at:
http://search.cpan.org/doc/JHI/perl-5.8.0/lib/File/Basename.pm I suppose you could also use a regex...something like this perhaps? /.*(\\\w+)$/ cheers, nathanael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]