/// <summary>Returns File's Parent Directory Name from Full File Path</summary> /// <param name="FilePath">File Location to Parse</param> /// <param name="CheckIfExists">Option to check to see if FilePath exists - FileDir returns blank if file not found</param> public static string DirName(this string FilePath, bool CheckIfExists = false) { _AHK ahk = new _AHK(); return(ahk.DirName(FilePath, CheckIfExists)); }