Beat butter at medium speed with an electric mixer until creamy; gradually add sugar, beating well. Add eggs and flavorings, beating until blended.
Combine flour, soda, and salt; add to butter mixture, mixing well. Stir in walnuts.
Divide dough into 10 portions; shape each portion into a 10-inch roll on wax paper. Cover and freeze 8 hours.
Cut each roll into 1/4-inch-thick slices, and place on lightly greased baking sheets.
Bake at 350° for 8 minutes or until lightly browned. Transfer to wire racks to cool completely.
Find recipes with ingredients that you have on hand.