This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <AutoItConstants.au3> | |
#include <MsgBoxConstants.au3> | |
; This is where the backups are stored | |
Global Const $BACKUP_DIR = "G:\NREYNOLD-LAP" | |
$free = DriveSpaceFree($BACKUP_DIR) | |
; Don't delete backups if more than 60 GB is available (i.e. enough for another new backup directory to be created) | |
if $free > 60 * 1024 then |