#include <DirCopywithProgress.au3>


$GUI = GUICreate ("DirCopywithProgress", 500, 40, -1, -1)
$GUIProgress = GUICtrlCreateProgress (0, 0, 500, 40)
GUISetState (@SW_SHOW, $GUI)

_DirCopywithProgress (@MyDocumentsDir, @DesktopDir & "\Example DirCopywithProgress", $GUIProgress)

MsgBox (0, "Abgeschlossen", "Kopieren wurde Fertiggestellt")
ShellExecute (@DesktopDir & "\Example DirCopywithProgress")