/// <summary>Changes the attributes of one or more files or folders. Wildcards are supported.</summary> /// <param name="Attributes">+ Turn on the attribute | - Turn off the attribute | ^ Toggle the attribute || R = READONLY | A = ARCHIVE | S = SYSTEM | H = HIDDEN | N = NORMAL | O = OFFLINE | T = TEMPORARY</param> /// <param name="FilePattern">The name of a single file or folder, or a wildcard pattern such as C:\Temp\*.tmp. FilePattern is assumed to be in %A_WorkingDir% if an absolute path isn't specified. </param> /// <param name="OperateOnFolders">0 (default) Folders are not operated upon (only files). | 1 All files and folders that match the wildcard pattern are operated upon. | 2 Only folders are operated upon (no files)</param> /// <param name="Recurse">False (default) Subfolders are not recursed into. | True = Subfolders are recursed into so that files and folders contained therein are operated upon if they match FilePattern. </param> public static bool FileSetAttrib(this string Attributes, string FilePattern = "", string OperateOnFolders = "0", bool Recurse = false) { _AHK ahk = new _AHK(); return(ahk.FileSetAttrib(Attributes, FilePattern, OperateOnFolders, Recurse)); }