1 REM Example Backup script to be run from pre_update_hook
2 REM Written by Ron Koenderink, 2005
3 REM This script is in the public domain.
5 REM Use: edit configuration variables below to taste, then set
6 REM pre_update_hook = c:\home\wolfpack\emp4\scripts\backup.bat
9 REM Rules when running as pre_update_hook:
10 REM Data directory is working directory.
11 REM stdin, stdout, stderr are redirected to /dev/null
12 REM Exit code other than zero cancels update!
14 REM This script is as simple as possible, since failure cancels the
16 xcopy /E /Y c:\home\wolfpack\emp4\data c:\home\wolfpack\emp4\backup
\r