In June 1954, Baxter won the part of the Egyptian princess and queen Nefertari in Cecil B. DeMille's award-winning "The Ten Commandments". Her scenes were shot on Paramount's sound stages in 1955, and she attended the film's New York and Los Angeles premieres in November 1956. Despite criticisms of her interpretation of Nefertari, DeMille and "The Hollywood Reporter" both thought her performance was "very good," and "The New York Daily News" described her as "remarkably effective." She later remembered the film in an interview: