Example #1
0
        /// <summary>Deletes a folder.</summary>
        /// <param name="DirName">Name of the directory to delete, which is assumed to be in %A_WorkingDir% if an absolute path isn't specified.</param>
        /// <param name="Recurse">Recurse = False - Do not remove files and sub-directories contained in DirName. In this case, if DirName is not empty, no action will be taken | True = Remove all files and subdirectories.</param>
        public static bool FileRemoveDir(this string DirName, bool Recurse = false)
        {
            _AHK ahk = new _AHK();

            return(ahk.FileRemoveDir(DirName, Recurse));
        }