Exemplo n.º 1
0
        /// <summary>Copies a folder along with all its sub-folders and files (similar to xcopy) (Same as FileCopyDir)</summary>
        /// <param name="Source">Name of the source directory (with no trailing backslash), which is assumed to be in %A_WorkingDir% if an absolute path isn't specified.</param>
        /// <param name="Dest">Name of the destination directory (with no trailing baskslash), which is assumed to be in %A_WorkingDir% if an absolute path isn't specified.</param>
        /// <param name="OverWrite">Flag determines whether to overwrite files if they already exist. True = OverWrite Existing Files</param>
        public static bool CopyDir(this string Source, string Dest, bool OverWrite = false)
        {
            _AHK ahk = new _AHK();

            return(ahk.FileCopyDir(Source, Dest, OverWrite));
        }