Exeter City will play League Two rivals Aldershot in the first round of the Johnstone's Paint Trophy.
The two sides will meet at St James Park in the first week of September.
Elsewhere, Yeovil make the short journey north to play local rivals Bristol Rovers.
Plymouth Argyle and Torquay United received byes into the next round.
Bristol Rovers have been drawn against West Country rivals Yeovil in the first round of the Johnstone's Paint Trophy.
The two sides will meet at the Memorial Stadium in the first week of September.
Elsewhere, Swindon travel to fierce rivals Oxford, while Cheltenham received a 'bye' into the next round.
Local butcher and lifelong Swindon fan Andrew Butler has produced a special sausage to mark Swindon Town's appearance in the Johnstone's Paint Trophy final this Sunday. The S.T.F.C sausages have proved so popular that Andrew says he plans to keep selling them after the final at Wembley.
Swindon's manager Paolo Di Canio has tried them and Chief Executive Nicholas Watkins has been to the shop in Fairford to stock up.
Elsewhere, the club have opened a second shop in the town centre to cope with demand for kit and memorabilia.
Swindon Town are preparing for this weekend's Johnstone's Paint Trophy Final at Wembley. Paolo Di Canio's side take on League One team Chesterfield on Sunday as they chase the first part of what could be a trophy double this season.
Swindon Town are to make their fifth appearance at Wembley in the final of the Football League Trophy, where they take on Chesterfield. Manager Paolo Di Canio admits winning League Two is the priority but says he's desperate to win this cup competition because it's the only one Swindon can win.