King of the Cowboys is a 1943 film directed by Joseph Kane and starring Roy Rogers and Smiley Burnette. It is set in Texas during World War II.
Source: Wikipedia