Sift flour, salt, baking powder, and baking soda. Cream butter and sugar; add egg and beat well. Fold in sifted ingredients. Blend in rolled oats, peanuts, and corn flakes.
Place by teaspoonfuls on greased cookie sheets. Bake at 375 degrees for 10 to 12 minutes or until done. Cook on wire racks.