We have described a new and easy synthesis of triazoles, triazolopyrimidines, benzimidazoles and imidazoles variously substituted based on the reaction of imidates with diamine derivatives. The products were obtained in moderate to good yields. A general ...