Dorking ended a three-match losing streak as they beat Aldershot 2-1 in their Vanarama National League match at Meadowbank.
Jason Prior put the home side in front in the seventh minute when he flicked in a cross to the near post for his eighth goal of the season.
Cian Harries equalised midway through the second half from the penalty spot after Shots midfielder Josh Stokes was brought down.
Dorking, though, were soon back in front when Barry Fuller played Jimmy Muitt into space and his deflected effort with 20 minutes left proved enough to secure victory.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.