Entire Afganistan was a Hindu country. During emperor Kanishka and later it became a Buddist country. During the Alexander's march, the Buddists gave such a fight that Alexander suffered terrible losses , in men and material. When Islam came, it was easy for them to convert all the Buddhists to Islam. Lack of a cast structure (the steel frame of Hinduism , on its positive side ) made Buddhism vulnerable and it was bent easily before the sword of Islam. The entire country Afganistan became an Islamic country. It may be surprising but even now there are some native Hindus in Kandhar and other areas of Afganistan. During Taliban rule, they were forced to wear a yellow badge on their chest , or other wise they should convert to Islam. Hidus chose to wear yellow badge. Many Afghanistan people , perticularly in cities ,understand Hindi language.
Kandhar was actually called Gandhari where the Kauravas mother Gandhari came from, in Mahabaharat. And remember Shakuni, the brother of Gandhari and also the secreat enemy of Kauravas was offcourse an Afghani.