thanks to prathapml I think it is not easy to determin whether tow files are identical. Maybe beyound compare is a good selection. I know little about date-stamp, should I just compare files by their sizes? Is is possible to let cdimage to determine?(maybe impossible). any reply is appreciated.