Blazes
As in expressions like, “Where the blazes did I put my book?” Blazes is simply a euphemism for hell dating from the late 18th/early 19th century. Thus, to run like blazes is to run like hell. See also deuce and dickens.