We have studied the reaction of o-aminophenyldiphenylcarbinol with substituted cyanothienopyridine, cyanopyridines, cyanopyridones, and cyanopyridinethiones. We have shown that in the case of pyridine derivatives, the reaction occurs with formation of 3,4-dihydroquinazolines, which exist in solution in two tautomeric forms. We have determined the general characteristics of initial fragmentation of the indicated products under electron impact.Continuing our work on synthesis of 3,4-dihydroquinazolines [2], in this report we describe the reactionThe reaction of nitriles 1a-h with carbinol 1 was carried out according to the procedure previously developed in [2], in the presence of equimolar amounts of HClO 4 . We established that the direction of the reaction and the product yields are mainly determined by the structure of the nitrile (see Scheme 1).Thus in the case of cyanothienopyridine 2a, cyanopyridines 2b,c, and N-unsubstituted cyano-2-pyridones 2d-e, the corresponding dihydroquinazolinium perchlorates 3a-e are formed; and from N-ethyl-3-cyano-6-methyl-4-methoxymethyl-2-pyridone (2f) and 3-cyano-2-pyridinethiones 2g-h, instead of products of type 3, the 9-phenylacridinium perchlorate (4) is formed according to a competing reaction [3].We have established that in the conversions under consideration, the solvent plays an important role. In nitromethane, we obtain salts 3 in good yields (Table 1). In chloroform, the yields of the latter decrease as a result of a secondary reaction to form the acridinium salt 4. In DMSO, no products of type 3 or 4 are formed. Thus we determined the optimal conditions for synthesis of salts 3: boiling nitromethane as the solvent, equimolar ratios of carbinol 1, nitrile 2, and HClO 4 . Under these conditions, the perchlorates 3a-e were obtained in 50%-85% yields (see Table 1). When treated with an aqueous solution of base, salts 3 are converted to the corresponding free bases 5a-e.