/// <summary>Checks for the existence of a file or folder.</summary> /// <param name="FilePattern">The path, filename, or file pattern to check. FilePattern is assumed to be in %A_WorkingDir% if an absolute path isn't specified.</param> public static bool IfExist(this string FilePattern) { _AHK ahk = new _AHK(); return(ahk.IfExist(FilePattern)); }