Preston Mommsen???s men lost their opening two matches to Afghanistan and Ireland respectively but bounced back in style on Wednesday thanks largely to Richie Berrington and Josh Davey.
Berrington (62) and Davey (53 not out) put on 99 for Scotland???s seventh wicket at Sheikh Zayed Stadium to help propel their side, who at one stage were 75-5, to a total of 213-7.
Davey (6-28) then ripped through Afghanistan as Mohammad Nabi???s team slumped to 63 all out, with only Usman Ghani (25), Javed Ahmadi (21) and Samiullah Shenwari (10) reaching double figures.
Afghanistan had earlier reduced Scotland, who elected to bat after winning the toss, to 25-3 in the 11th over, with right-arm seamer Aftab Alam plucking two of the??early wickets.
Mommsen???s 31 allowed Scotland to rebuild somewhat but they were indebted to Berrington and Davey for lifting their score above the 200 mark.
Berrington ??? the only Scot to have scored both ODI and T20 hundreds ??? added 33 with wicketkeeper Matty Cross (23)??for the sixth wicket, before he and Davey teamed up.
Berrington eventually became Alam???s third scalp of the day but Davey remained unbeaten and then swiftly showed his skills with the ball, too.
The Aberdeen-born right-armer sent four of Afghanistan???s first six batsmen back into the shed en route to recording his second five-for in ODI cricket, following his 5-9 against the same opposition in 2010.
Afghanistan and Scotland now face further games against Ireland but will lock horns again in the World Cup on February 26, having been drawn together in Pool A alongside England, Australia, New Zealand, Sri Lanka and Bangladesh.