Ah I remember now..
If Trim$(TextMinToKeep.Text) = "" Then TextMinToKeep.Text = "5"
If Trim$(TextNumOfDays.Text) = "" Then TextNumOfDays.Text = "30"
If Trim$(TextNumOfDays.Text) = "0" Then TextNumOfDays.Text = "30"
The program deletes the backups after a backup is made. So I dont allow 0 to be used as it would delete all of them after the backup is done.
The program takes the date from the name of the folder in the backup location. It then takes that date and does a date diff math to get number of days. Thus if it gets 0 all get deleted. So the program doesnt look at the date modified or anything, it looks at the folder name.
So the trick to do what you want would be this
BackupsToKeep=0
Only1AutoBackupPerDay=1
AutoDeleteOldBackupsDays=1
Which all 3 commands can be used for the Only1AutoBackupPerDay setting.
/silent = minmized window
/supersilent = window stays hidden
/auto = normal window
Now with the Only1AutoBackupPerDay=1 if the program is ran with one of the 3 switches again during the same day it will check the backup folder, see one was made and simply close itself without doing a backup.
If for some reason you need that one backup that was made deleted then it might be easy to just add the del command for the backup folder to remove any.
Shane