--- /dev/null
+REM Example Backup script to be run from pre_update_hook
+REM Written by Ron Koenderink, 2005
+REM This script is in the public domain.
+REM
+REM Use: edit configuration variables below to taste, then set
+REM pre_update_hook = c:\home\wolfpack\emp4\scripts\backup.bat
+REM in econfig.
+REM
+REM Rules when running as pre_update_hook:
+REM Data directory is working directory.
+REM stdin, stdout, stderr are redirected to /dev/null
+REM Exit code other than zero cancels update!
+REM
+REM This script is as simple as possible, since failure cancels the
+REM update.
+xcopy /E /Y c:\home\wolfpack\emp4\data c:\home\wolfpack\emp4\backup\r
--- /dev/null
+REM Example Blitz script which can be ran as a scheduled task.
+REM Written by Ron Koenderink, 2005
+REM This script is in the public domain.\r
+REM\r
+REM You will need to set the EMPIREHOST and EMPIREPORT if the \r
+REM emp_client is not compiled with the correct defaults.\r
+REM set EMPIREHOST=localhost\r
+REM set EMPIREPORT=6665\r
+REM\r
+REM The script can be simplified by setting the execute\r
+REM directory to the bin directory.\r
+REM The -e is not necessary unless you are not using the\r
+REM the default game directory.\r
+REM\r
+echo power new | c:\home\wolfpack\emp4\bin\emp_client -2 power.out POGO peter\r
+net stop "Empire Server"\r
+c:\home\wolfpack\emp4\bin\files -f -e c:\home\wolfpack\emp4\data\econfig\r
+c:\home\wolfpack\emp4\bin\fairland -e c:\home\wolfpack\emp4\data\econfig 10 30\r
+net start "Empire Server"\r
+c:\home\wolfpack\emp4\bin\emp_client POGO peter <newcap_script\r
+echo enable | c:\home\wolfpack\emp4\bin\emp_client POGO peter\r