Why do electrons move in specified direction?

The electrons move in specified direction when the ends of the conductor are connected to the terminals of a battery.
A uniform electric field is set up throughout the conductor. This field makes the electrons move in a specified direction.