The perl script createPlinkFiles.pl will create a set of plink files from a testvariants output containing only SNPs. Good for cryptic relatedness or ethnicity (when combined with HapMap data) calculations or stats in PLINK. The program assumes unrelated people. Change the output tped file if this is not the case.
Dowhload the tool here.