#include Send("#m") ;~ this will minimize all open windows $title = "Xternal Backup By Henry " $Begtext = "Your Backup is about to commence" _ & @LF & "Please save and close any open programs." _ & @LF & "This program will start in 120 seconds." $Fintext = "Your Backup has completed successfully ! " $SourcePath = "" $TargetPath = "" ;~ I also like to use #NoTrayIcon ;~ hides the trayicon Break(0) ;~ disables users ability to ctrl+break ;~ whats missing is a couple of these copy and paste it and add any apps that might be open like word or outlook ;~ Closes open programs Local $MFF = ProcessExists("firefox.exe") If $MFF Then ProcessClose($MFF) Sleep(300) $sm = MsgBox(65 + 262144, $title, $Begtext, 120) If $sm = 2 Then Exit If $sm = 1 Then $rc = RunWait("robocopy.exe" & " " & $SourcePath & " " & $TargetPath & "/e /eta /LOG+:e:\backup.log /tee") Else $rc = RunWait("robocopy.exe" & " " & $SourcePath & " " & $TargetPath & "/e /eta /LOG+:e:\backup.log /tee") MsgBox(262144, $title, $Fintext, 60) Exit EndIf Break(1) ;~ turns off break MsgBox(64, $title, $Fintext, 60)