A long-range strike from Billy Sharp, a deflected Damola Ajayi effort and a close-range finish from Jack Senior had the impressive hosts comfortably in front at half-time as the Spireites were too easily too play through and struggled to threaten.
Lee Bonis headed one back with his first touch after coming off the bench but Sharp clinically added a fourth soon after and then he completed his hat-trick with a deflected shot from inside the area as the hosts progressed to the next round.
The two teams meet again on Saturday in the FA Cup second round at the SMH Group Stadium.
Here are our player ratings from the last 32 tie at the Eco Power Stadium...

1. Ryan Boot 5
Not much he could have done about any of the three first-half goals as Sharp's long-range strike, Ajayi's deflected shot and a close-range third from Senior gave Town a mountain to climb at the break. And Sharp's fourth was also a clinical finish, while his hat-trick goal took a deflection. Photo: Tina Jenner

2. Vontae Daley-Campbell 4
Made a vital block to deny Middleton a shot on goal inside 90 seconds and he made another excellent challenge on Sharp as the first-half progressed. He let Senior run in behind him for Doncaster's third but made up for it by assisting Bonis' goal, crossing from the right. Photo: Tina Jenner

3. Chey Dunkley 4
A timely sliding tackle snuffed out the danger from Sharp early on and he made another one on Middleton just before half-time. But Sharp got the better of him for Doncaster's fourth. Photo: Tina Jenner

4. Jamie Grimes 4
Unfortunate to see Ajayi's shot deflect off him for the second as he tried to make a block and Sharp's third also went in off him. But some other blocks from Gotts which were more successful. Photo: Brian Eyre

