The method by which l-cyano-3-isopropylguanidine, an intermediate used in the synthesis of the new diguanides, is prepared has been shown to be applicable as well to the preparation of N1-(6-methoxy-8-quinolylaminoalkyl)-N~-cyanoguanidines, by the preparation of two new compounds of this class.