Ejemplo n.º 1
0
        /// <summary>Backup File to Backup Dir with .# ext (also puts \Backup\OriginalName.ext as most recent file copy for opening)</summary>
        /// <param name="FilePath">Path of Original File To Backup</param>
        /// <param name="DeleteOriginal">Option to Delete Original File After Successful Backup</param>
        /// <param name="BackupDir">Directory To Store Backup File. Default = AppDir\\Backup</param>
        /// <returns>Returns True on Successful Backup</returns>
        public static bool Backup_File(string FilePath, bool DeleteOriginal = false, string BackupDir = "\\Backup")
        {
            _AHK ahk = new _AHK();

            return(ahk.Backup_File(FilePath, DeleteOriginal, BackupDir));
        }