/// <summary> /// Returns List of Folders in Directory Path /// </summary> /// <param name="DirPath"> </param> /// <param name="SearchPattern"> </param> /// <param name="Recurse"> </param> /// <param name="FullPathReturn">Option to return either the Full Directory Paths (true) or the Directory name list (false)</param> public static List <string> DirList(this string DirPath, string SearchPattern = "*.*", bool Recurse = true, bool FullPathReturn = false) { _AHK ahk = new _AHK(); return(ahk.DirList(DirPath, SearchPattern, Recurse, FullPathReturn)); }