/// <summary> /// Receives a file skeleton as a parameter and returns an array of files that match the skeleton. /// Example: /// string[] myArr; /// myArr = VFPToolkit.arrays.ADir("c:\\*.*"); /// </summary> /// <param name="cFileSkeleton"></param> /// <returns></returns> public static string[] ADir(string cFileSkeleton) { string[] aFiles; string lcDrive = VFPToolkit.strings.SubStr(cFileSkeleton, 1,VFPToolkit.strings.RAt("\\", cFileSkeleton)); string lcStem = VFPToolkit.strings.SubStr(cFileSkeleton, strings.RAt("\\", cFileSkeleton) + 1); aFiles = System.IO.Directory.GetFiles(lcDrive, lcStem); return aFiles; }*** UPDATE Please ignore it. I must learn not to put my nose in .... Just after i posted this message I realise that they use the same function. Sorry