Access and regioselective transformations of 6-substituted 4-aryl-2,8-dichloropyrido[3,2-d]pyrimidine compounds.