[Cl:1][C:2]1[C:7]([Cl:8])=[CH:6][CH:5]=[C:4]([OH:9])[C:3]=1[OH:10].C(=O)([O-])[O-].[K+].[K+].Br[CH:18](Br)[C:19]([O:21][CH2:22][CH3:23])=[O:20]>CN(C)C=O>[Cl:1][C:2]1[C:3]2[O:10][CH:18]([C:19]([O:21][CH2:22][CH3:23])=[O:20])[O:9][C:4]=2[CH:5]=[CH:6][C:7]=1[Cl:8]A mixture of 11.0 g of 3,4-dichloro-1,2-benzenediol, 15.38 g of potassium carbonate, 27 g of ethyl dibromoacetate and 100 ml of dimethylformamide is stirred at 100° C. under argon gas atmosphere for 4 hours. The reaction mixture is evaporated to remove solvent and ethyl acetate and water is added to the residue. The organic layer is separated, washed with water, dried and evaporated to remove solvent. The residue is purified by silica gel column chromatography to give 10.75 g of ethyl 4,5-dichloro-1,3-benzodioxole-2-carboxylate.