a correction to my previous post. In my previous post i said one of the stupidity of Perl's File::Basename module is that it requires user to tell it OS type. This is incorrect. Thanks to Walter Roberson (roberson at ibd.nrc-cnrc.gc.ca) for this correction. Xah xah at xahlee.org http://xahlee.org/PageTwo_dir/more.html