The Caribbean side scored 311 for six in their 50 overs in Leeds and although the Afghans put up a brave fight, they ultimately went down by 23 runs.
Spin sensation Rashid Khan and all-rounder Mohammad Nabi will spearhead Afghanistan's assault on the World Cup after a 15-man squad was announced on Monday.
The world's top-rated Twenty20 bowler from the war-torn nation last year made history as the fastest to reach 100 one-day international wickets.
Jason Roy sealed an England thrashing of Afghanistan as the tournament hosts cruised to victory in their final match before the World Cup. Roy made 89 not out on his Surrey home ground on Monday
Afghanistan, appearing at only their second World Cup, lost the toss but restricted Indai to 224 for eight in their 50 overs, giving themselves a genuine chance for a huge upset.
India and New Zealand are the only teams still unbeaten in the Cricket World Cup and both are in action on Saturday as the tournament moves into its 24th day. India takes on Afghanistan at the Rose Bowl
The five-time champions bowled Afghanistan out for 207 in 38.2 overs on a warm day in Bristol and then made steady progress, reaching their target with more than 15 overs to spare, with Warner 89 not out.
The US is the only member of the international coalition in Afghanistan that provides air support in the conflict.
Afghanistan summoned Pakistan's deputy ambassador to discuss the 'irresponsible' remarks by Khan, foreign affairs ministry spokesman Sibghatullah Ahmadi said in a series of tweets on Tuesday.