Linlithgow Rose have been handed a home tie against Highland League side Nairn County in the first round of the William Hill Scottish Cup.
Rose welcome the visitors to Prestonfield on Saturday, September 14.
Elsewhere, ex-Edinburgh University coach Dougie Samuel will return to his old stomping ground of Peffermill when he takes his Spartans side across the Capital to face the students.
Edinburgh City and Preston Athletic both face long journeys on the road having been drawn away to Golspie Sutherland and Huntly respectively.
Civil Service Strollers face a tough challenge in Aberdeenshire having been drawn at Fraserburgh.
First round draw in full (ties to be played September 14): Edinburgh University v Spartans; Threave Rovers v Rothes; Golspie Sutherland v Edinburgh City; Huntly v Preston Athletic; Coldstream v Wick Academy; Girvan v Auchinleck Talbot; Selkirk v Turriff United; Fort William v Newton Stewart; Forres Mechanics v Keith; Fraserburgh v Civil Service Strollers; Gala Fairydean Rovers v Glasgow University; Wigtown and Bladnoch v Buckie Thistle; Brora Rangers v Vale of Leithen; Deveronvale v Clachnacuddin; Inverurie Loco Works v Burntisland Shipyard; Hawick Royal Albert v St. Cuthbert Wanderers; Lossiemouth v Culter; Linlithgow Rose v Nairn County.